questions/apache-spark/page/5
You can try this: object printarray { ...READ MORE
The error message you have shared with ...READ MORE
Hi, If you have a file with id ...READ MORE
Hey, You can use this command to start ...READ MORE
What is the major use case for ...READ MORE
spark.read.csv is used when loading into a ...READ MORE
There are few reasons for keeping RDD ...READ MORE
As is widely used, and has different ...READ MORE
Hi, SparkSQL is a special component on the ...READ MORE
Hey, You can concatenate/join two Maps in more than ...READ MORE
Below is an example of reading data ...READ MORE
Hi, persist () allows the user to specify ...READ MORE
Hi, You can either declare an empty Scala ...READ MORE
Yes, we can work with Avro files ...READ MORE
Refer to the below command used: val df ...READ MORE
Hi, This error will only generate when you ...READ MORE
df = spark.createDataFrame([("A", 2000), ("A", 2002), ("A", ...READ MORE
Hey, I guess the only problem with the ...READ MORE
The problem is probably with the command. ...READ MORE
You can try this: d.filter(col("value").isin(desiredThings: _*)) and if you ...READ MORE
Hi, This happens in Scala whenever you won't ...READ MORE
Hi, Spark provides a pipe() method on RDDs. ...READ MORE
Try this and see if this does ...READ MORE
Hey, Java’s “If. Else”: In Java, “If. Else” is a statement, ...READ MORE
Hey, Yes, there are two ways of doing ...READ MORE
Try this code, it worked for me: val ...READ MORE
Hey, Scala introduces a new object keyword, which is used ...READ MORE
Hi, You can do it using map partition ...READ MORE
Hey, You can see this following code to ...READ MORE
You can use this: lines = sc.textFile(“hdfs://path/to/file/filename.txt”); def isFound(line): if ...READ MORE
Hey, There are two ways to find the ...READ MORE
Hi All I am running Scala program on ...READ MORE
Try executing the below code, def readExcel(file: String): ...READ MORE
Refer to the following code: val sqlContext = ...READ MORE
Hey, You can launch spark application in four ...READ MORE
Hi, You can see this example to see ...READ MORE
Hey, The method List.fill() creates a list and ...READ MORE
You can perform this task in two ...READ MORE
You can do it using a code ...READ MORE
The address you are using in the ...READ MORE
We have Streaming Application implemented using Spark ...READ MORE
In the command, you have mentioned the ...READ MORE
Spark-submit jobs are also run from client/edge ...READ MORE
Hi, Spark Driver is the program that runs ...READ MORE
Hey, To install SBT on Ubuntu first you need ...READ MORE
Hey, We can append a Scala array to ...READ MORE
Spark uses a master/slave architecture. As you ...READ MORE
Hi, Spark provides a high-level API in Java, ...READ MORE
I am running an application on Spark ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.