Spark Streaming Output on HDFS

Viewing 1 reply thread
  • Author
    Posts
    • #5028
      DataFlair TeamDataFlair Team
      Spectator

      How can we store spark streaming output in HDFS efficiently? Any suggestion?

    • #5030
      DataFlair TeamDataFlair Team
      Spectator

      Hi ,
      After receive data from source you can Create RDD
      and u can use method RDD..saveAsTextFile(“hdfs://localhost:9000/out”) to store that data in HDFS

Viewing 1 reply thread
  • You must be logged in to reply to this topic.