i am getting that error in spark-shell when i run val words = sc.words.txt("hdfs://192.168.75.133:9000/words/sh.txt")"
error "value words is not a member of org.apache.spark.SparkContext)?
How do I fix this? Please see attached core-site.xml file and spark-shell.
Thanks.
Hi Eva,
Please use the correct line:
val words = sc.words("hdfs://192.168.75.133:9000/words/sh.txt");
Hope this helps.
Thanks.
Hi Eva,
Could you please share the screenshot, when you enter the above mention command.
Thanks