Reputation: 339
I have just started with Apache Spark. When I try to RDD a File I get the
error :
Value Textfile not a member of org.apache.spark.SparkContext.
This is what I typed :
val data1 = sc.textfile("README.md")
I have AmazonEMR with Spark on it.
Upvotes: 5
Views: 5979
Reputation: 339
Ok Just found that is case sensitive. that needs to be textFile
(with F Cap).
I hope this will help someone.
Upvotes: 5