questions/apache-spark
Hey, You can try this code to get ...READ MORE
Hey, You need to follow some steps to complete ...READ MORE
Hey, I guess the only problem with the ...READ MORE
In the above statement, x(2) is specifying an array ...READ MORE
All prefix operators' symbols are predefined: +, -, ...READ MORE
This should work: def readExcel(file: String): DataFrame = ...READ MORE
Hi, You can compute the average using this ...READ MORE
Hey, In Apache Spark, the data storage model is ...READ MORE
Hey, You can use the subtractByKey () function to ...READ MORE
spark.read.csv is used when loading into a ...READ MORE
The reason you are able to load ...READ MORE
Yes, we can work with Avro files ...READ MORE
You can do it using a code ...READ MORE
I used Spark 1.5.2 with Hadoop 2.6 ...READ MORE
If you just want to get your ...READ MORE
The HDFS path for MyLab is /user/edureka_id. ...READ MORE
You can load a DAT file into ...READ MORE
Spark uses a master/slave architecture. As you ...READ MORE
First, reboot the system. And after reboot, ...READ MORE
Temporary table is more like an index ...READ MORE
Yes, you can but it has to ...READ MORE
df.registerTempTable(“airports”) This command is used to register ...READ MORE
You can try the below code: df.registerTempTable(“airports”) sqlContext.sql(" create ...READ MORE
I have used a header-less csv file ...READ MORE
Please go through the below explanation : Full ...READ MORE
The map function creates an array of ...READ MORE
Give read-write permissions to C:\tmp\hive folder Cd to winutils bin folder ...READ MORE
Web crawling is a program or automated ...READ MORE
Spark revolves around the concept of a ...READ MORE
You have to use sqoop to export data ...READ MORE
The address you are using in the ...READ MORE
You can perform this task in two ...READ MORE
The string Productivity has to be enclosed between single ...READ MORE
var d=rdd2col.rdd.map(x=>x.split(",")) or val names=rd ...READ MORE
Dataframe creation commands: Now we will register them ...READ MORE
Hi, The yield keyword is used because the ...READ MORE
Hi, Yes, in scala there is a guard condition where ...READ MORE
Hi, You can use two level loops using the ...READ MORE
Hi, You can use for loop in scala using ...READ MORE
Hi, Yes, "foreach" function you use because it will ...READ MORE
Hi, You can see this example to see ...READ MORE
Hi, There is a term in Scala that is ...READ MORE
Hi, You can see this example to get ...READ MORE
Hi, You can follow this example to know ...READ MORE
The reason why you are able to ...READ MORE
Refer to the below command used: val df ...READ MORE
After downloading Spark, you need to set ...READ MORE
Hi, No. An RDD is made up of ...READ MORE
You have to install Intellij with scala plugin. ...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.