,
true, conf,null);
Now out2 will be a single file containing your data.
fs is the configuration of you local file system.
Thanks
On Sat, Jan 10, 2015 at 1:36 AM, NingjunWang [via Apache Spark User List]
[hidden email]/user/SendEmail.jtp?type=nodenode=21093i=0 wrote:
No, do you have any idea
No, do you have any idea?
Regards,
Ningjun Wang
Consulting Software Engineer
LexisNexis
121 Chanlon Road
New Providence, NJ 07974-1541
From: firemonk9 [via Apache Spark User List]
[mailto:ml-node+s1001560n21067...@n3.nabble.com]
Sent: Friday, January 09, 2015 2:56 PM
To: Wang, Ningjun
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
Test message
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/This-is-just-a-test-tp19895.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe,