Are you running the program in local mode or in standalone cluster mode?
Thanks
Best Regards
On Fri, Jan 9, 2015 at 10:12 AM, Wang, Ningjun (LNG-NPV) <
ningjun.w...@lexisnexis.com> wrote:
> I try to save RDD as text file to local file system (Linux) but it does
> not work
>
>
>
> Launch spark-s
I try to save RDD as text file to local file system (Linux) but it does not work
Launch spark-shell and run the following
val r = sc.parallelize(Array("a", "b", "c"))
r.saveAsTextFile("file:///home/cloudera/tmp/out1")
IOException: Mkdirs failed to create
file:/home/cloudera/tmp/out1/_temporary/