I am seeing this same issue with Spark 1.0.1 (tried with file:// for local file
) :
scala val lines = sc.textFile(file:///home/monir/.bashrc)
lines: org.apache.spark.rdd.RDD[String] = MappedRDD[1] at textFile at
console:12
scala val linecount = lines.count
Subject: RE: cannot read file form a local path
I am seeing this same issue with Spark 1.0.1 (tried with file:// for local file
) :
scala val lines = sc.textFile(file:///home/monir/.bashrc)
lines: org.apache.spark.rdd.RDD[String] = MappedRDD[1] at textFile at
console:12
scala val linecount