title: Loading data in Hadoop with spring xd
body: <p>I am trying to create a stream between an HTTP source and HDFS sink. My springXD and HDFS are installed on different machines** but I am able to fire the <code>hadoop fs ls /</code> command successfully. </p>
  
  <p>After creating and deploying stream, when I post data using:</p>
  
  <pre><code>http post --target http://{ipaddressofhdfsmachine:8020} -- data"hello"
  </code></pre>
  
  <p>It is throwing the error:</p>
  
  <blockquote>
    <p>failed to send data to http end point http://{ipaddressofhdfsmachine:8020}</p>
  </blockquote>
  
  <p>When I used <code>localhost with port 9000</code> it completed successfully but nothing showed up in hdfs.</p>
  
  <p>Is it necessary to have hdfs and spring on same machine to create stream?</p>