title: hadoop streaming Failed on local exception: java.net.SocketException: Host is down;
body: <p>I have a 1 node cluster running on my mac and can create a dir in hdfs and put a file </p>
  
  <pre><code>hadoop fs -mkdir sampleData
  hadoop fs -put ~/SampleTweets.csv sampleData
  </code></pre>
  
  <p>but when i run a simple streaming job as below get an error (shown below code)</p>
  
  <pre><code>hadoop jar    
  ~/cloudera/cdh5.5/hadoop/share/hadoop/mapreduce1/contrib/streaming/hadoop-
  streaming-2.6.0-mr1-cdh5.5.1.jar \
  -Dmapred.reduce.tasks=1 \
  -input sampleData \
  -output sampleData/output1 \
  -mapper cat \
  -reducer "wc -l"
  </code></pre>
  
  <p>Error on screen and <a href="http://localhost:8088/cluster/app/application_1453348020587_0005" rel="nofollow">http://localhost:8088/cluster/app/application_1453348020587_0005</a></p>
  
  <pre><code>Application application_1453348020587_0005 failed 2 times due to Error launching appattempt_1453348020587_0005_000002. 
  Got exception: java.io.IOException: Failed on local exception: java.net.SocketException: 
  Host is down; Host Details : local host is: "tanna-iMac.local/192.168.1.13"; 
  destination host is: "192.168.1.4":58893;
  </code></pre>
  
  <p>My /etc/hosts:</p>
  
  <pre><code>cat /etc/hosts
    127.0.0.1 localhost
    255.255.255.255   broadcasthost
    192.168.1.13 localhost
    ::1 localhost
    fe80::1%lo0   localhost
  </code></pre>
  
  <p>Not sure where its picking up destination host 192.168.1.4 from? and what service is running on port 58893</p>