Hi Ravi, Welcome, you probably want RDD.saveAsTextFile(“hdfs:///my_file”)
Chris > On Jun 22, 2015, at 5:28 PM, ravi tella <ddpis...@gmail.com> 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: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org