lundi 18 juillet 2016

code using the Spark on pyspark


I have problem in pyspark. I have executed just these lines on Spark using pyspark as given below, it gives me following error, >>> text_file=sc.textFile("/Users/Aroon/spark/Scala/word") Traceback (most recent call last): File "", line 1, in NameError: name 'sc' is not defined.

Aucun commentaire:

Enregistrer un commentaire