Spark-sql context error


I am currently using cloudera 5.8 machine.I tried to install Spark-1.2.1 version but facing errors while executing sc.textFile and other commands. I have made the necessary configurations changes as shown in video but still could not come out of it. Hence in reinstalled the VM and started using the latest Spark version that is available in VM. Also ‘spark-sql’ context is unavailable in it.

Could you please clarify if spark-sql is mandatory for CCA 175 exam?

Thank you,

spark-sql is not mandatory for CCA 175. No need to setup Spark 1.2.1, just ignore data frames and spark sql - you are good to go.

Thanks a lot for the response