title: Unable to set up hadoop on my local machine
body: <p>I am trying to install Hadoop as a pseudo stand alone application on my macbook, and I have been seeing errors.</p>
  
  <p>When I try to execute <code>sbin/start-dfs.sh</code>, I get the following error.</p>
  
  <pre><code>$ sbin/start-dfs.sh
  Starting namenodes on [localhost]
  localhost: Connection closed by ::1 port 22
  Starting datanodes
  localhost: Connection closed by ::1 port 22
  Starting secondary namenodes [Kartiks-MacBook-Pro.local]
  Kartiks-MacBook-Pro.local: Connection closed by 100.110.189.236 port 22
  2018-01-22 00:20:19,441 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
  </code></pre>
  
  <p>I used the following pages as my reference</p>
  
  <p>1) <a href="http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/" rel="nofollow noreferrer">http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/</a></p>
  
  <p>2) <a href="https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html#Pseudo-Distributed_Operation" rel="nofollow noreferrer">https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html#Pseudo-Distributed_Operation</a></p>
  
  <p>3) <a href="http://zhongyaonan.com/hadoop-tutorial/setting-up-hadoop-2-6-on-mac-osx-yosemite.html" rel="nofollow noreferrer">http://zhongyaonan.com/hadoop-tutorial/setting-up-hadoop-2-6-on-mac-osx-yosemite.html</a></p>
  
  <p>None of the URLs to view either the namenode load for me</p>
  
  <p>1) <a href="http://localhost:9870/" rel="nofollow noreferrer">http://localhost:9870/</a> (from the Hadoop's website)</p>
  
  <p>2) <a href="http://localhost:50070/" rel="nofollow noreferrer">http://localhost:50070/</a> (from <a href="http://zhongyaonan.com/hadoop-tutorial/setting-up-hadoop-2-6-on-mac-osx-yosemite.html" rel="nofollow noreferrer">http://zhongyaonan.com/hadoop-tutorial/setting-up-hadoop-2-6-on-mac-osx-yosemite.html</a>)</p>
  
  <p>I am using my personal login id from my Macbook. </p>