1 year ago

#385288

test-img

Raju

Trying to create RDD from external dataset(word_list.txt) but getting error

valfile = sc. textFile("/Users/Downloads/word_list-1.txt")My_file: org.apache.spark.rdd. RDD[String] = /Users/Downloads/word_list-1.txt Mappartitions RDD[1] at textFile at <console>:23  

Getting an error:

';' expected but '=' found.

enter image description here

scala

apache-spark

bigdata

0 Answers

Your Answer

Accepted video resources