Questions tagged [spark-repl]
4 questions
2
votes
0 answers
Using Logging library in SparkR: no method for coercing this S4 class to a vector
I've recently started using SparkR and would like to do logging with it while running sql queries, performing joins, moving data into csv etc. I'm able to run sql queries and fecthing data from oracle and hive tables into SparkR dataframe but it…

Naresh Verma
- 21
- 4
2
votes
1 answer
spark repl "type mismatch" for inner class
I have define some trait and class in spark program, it works well when packaged into a jar, but if execute in spark repl, it will fail.
trait Builder {
trait Layer {
def layerSize: Int
}
abstract class Layer1 extends Layer
class…

jacquesqiao
- 21
- 1
1
vote
0 answers
Spark stand-alone v 2.3.2 Failing test
I have build spark v 2.3.2 on big endian platform using adopt jdk 1.8
build is successful and we encounter test case failures in the following module.
I wanted some information related to this failing test, information on how severely would this…

Ketan Kunde
- 11
- 1
0
votes
0 answers
Equals function doesn't work with custom object in spark
I'm haveing trouble, I presume with serialization, in a Spark repl.
I have the following code snippet:
class Foobar (val a: Int, val b: Int) extends Serializable {
override def equals (other: Any): Boolean =
other match {
case that:…

Nathan Kronenfeld
- 473
- 1
- 5
- 14