title: hadoop fs -lsr hdfs://localhost:9000 not working
body: <p>i am new to learning hdfs and have single node hadoop(version 2.2.0) set up over centos box.</p>
  
  <p>after start-all command i am trying to run some of the hdfs commands but below mentioned is not working.</p>
  
  <pre><code>    bin/hadoop fs -lsr hdfs://localhost:9000/tmp/hadoop-root/dfs/name
  </code></pre>
  
  <p>while this command is working </p>
  
  <pre><code>    bin/hadoop fs -lsr file:///tmp/hadoop-root/dfs/name
  </code></pre>
  
  <p>this is my core-site.xml file</p>
  
  <pre><code>&lt;configuration&gt;
   &lt;property&gt;
           &lt;name&gt;fs.default.name&lt;/name&gt;
           &lt;value&gt;hdfs://localhost:9000&lt;/value&gt;
       &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>mapred-site.xml file</p>
  
  <pre><code>&lt;configuration&gt;
       &lt;property&gt;
           &lt;name&gt;mapred.job.tracker&lt;/name&gt;
           &lt;value&gt;localhost:9001&lt;/value&gt;
       &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>hdfs-site.xml file</p>
  
  <pre><code>&lt;configuration&gt;
  &lt;property&gt;
           &lt;name&gt;dfs.replication&lt;/name&gt;
           &lt;value&gt;1&lt;/value&gt;
       &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>telnet with localhost 9000 is working while telnet with x.x.x.x 9000 is not working also.</p>
  
  <p>Can anyone tell me pls. where is my mistake ?</p>