Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-05-2016 01:57 PM
Created 09-05-2016 02:06 PM
Hi,
What is the exact line of code you have? It let me think that you would like to save the content of your RDD/DF/DS but you are calling this method although you are not manipulating such an object anymore.
Created 09-05-2016 02:06 PM
Hi,
What is the exact line of code you have? It let me think that you would like to save the content of your RDD/DF/DS but you are calling this method although you are not manipulating such an object anymore.
Created 09-05-2016 02:09 PM
I'm trying to return this: val output = vertices.map(_.split(" ")).toArray
Created 09-05-2016 02:11 PM
Then I'd try the following:
vertices.map(_.split(" ")).saveAsTextFile("my/hdfs/path/directory")