title: Stream data into hdfs directly without copying
body: <p>I am looking for different options through which I can write data directly into hdfs using python without storing on the local node and then using copyfromlocal.</p>
  
  <p>I would like to use hdfs file similar to local file and use write method with the line as the argument, something of the following:</p>
  
  <pre><code>   hdfs_file = hdfs.create("file_tmp")
     hdfs_file.write("Hello world\n")
  </code></pre>
  
  <p>Does there exist something similar to the use case described above?</p>