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")