title: Hadoop\HDFS: "no such file or directory"
body: <p>I have installed Hadoop 2.2 on a single machine using this tutorial: <a href="http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/" rel="noreferrer">http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/</a></p>
  
  <p>Some details were changed a little bit - for example, I used java 8, /hadoop root dir etc. Users, SSH, config keys - the same.</p>
  
  <p>Namenode was successfully formatted:</p>
  
  <pre><code>13/12/22 05:42:31 INFO common.Storage: Storage directory /hadoop/tmp/dfs/name has been successfully formatted.
  13/12/22 05:42:31 INFO namenode.FSImage: Saving image file /hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 using no compression
  13/12/22 05:42:32 INFO namenode.FSImage: Image file /hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 of size 198 bytes saved in 0 seconds.
  13/12/22 05:42:32 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid &gt;= 0
  13/12/22 05:42:32 INFO util.ExitUtil: Exiting with status 0
  13/12/22 05:42:32 INFO namenode.NameNode: SHUTDOWN_MSG: 
  </code></pre>
  
  <p>However, not 'mkdir' neither even 'ls' command worked:</p>
  
  <pre><code>$ /hadoop/hadoop/bin/hadoop fs -ls
  Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /hadoop/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.
  It's highly recommended that you fix the library with 'execstack -c &lt;libfile&gt;', or link it with '-z noexecstack'.
  13/12/22 05:39:33 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
  ls: `.': No such file or directory
  </code></pre>
  
  <p>Thanks for any help guys.</p>