Created 05-25-2017 02:45 PM
Are we supposed to just write the scala code that will run in spark shell or do we need to create object/class and define SparkContext, SQLContext etc.
Created 05-25-2017 03:46 PM
The former. You are expected to write the code to run in the Spark shell.
Also, take a look at this link with other good questions/answers regarding the exam:
https://community.hortonworks.com/questions/70180/hdpcd-spark-exam.html
View solution in original post