title: How to configure hadoop with eclipse
body: <p>I am new in hadoop I have downloaded the hortonworks sanbox image and mounted that with virtualBox. And sanbox ui is coming in the localhost when I am typing 192.168.56.101/ in the Chrome. Also I am able to log in to hadoop shell with hue/hadoop username password. Now I want to run a simple program in eclipse. I have added <code>hadoop-0.18.3-eclipse-plugin</code> to the eclipse and then tried the following steps.</p>
  
  <pre><code>1.choosed map/reduce from eclipse.
  2.went to hadoop location editer 
  
  localhost name:localhost
  under map/reduce master
  port:9000
  under DFS master
  port:9001
  </code></pre>
  
  <p>But I am getting this error </p>
  
  <blockquote>
    <p>Cannot connect to the Map/Reduce location: localhost Call to
    localhost/127.0.0.1:9001 failed on connection exception:
    java.net.ConnectException: Connection refused: no further information</p>
  </blockquote>
  
  <p>Virtual box is running.</p>