Hi Ravi, Welcome, you probably want RDD.saveAsTextFile(“hdfs:///my_file”)
Chris > On Jun 22, 2015, at 5:28 PM, ravi tella <[email protected]> wrote: > > > Hello All, > I am new to Spark. I have a very basic question.How do I write the output of > an action on a RDD to HDFS? > > Thanks in advance for the help. > > Cheers, > Ravi > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
