title: Hadoop dfs -ls returns list of files in my hadoop/ dir
body: <p>I've set up a sigle-node Hadoop configuration running via cygwin under Win7. After starting Hadoop by<pre><code>bin/start-all.sh</code></pre> I run <pre><code>bin/hadoop dfs -ls</code></pre> which returns me a list of files in my hadoop directory. Then I run <pre><code>bin/hadoop datanode -format<br>bin/hadoop namenode -format</code></pre> but -ls still returns me the contents of my hadoop directory. As far as I understand it should return nothing(empty folder). What am I doing wrong?</p>