I've set up a sigle-node Hadoop configuration running via cygwin under Win7. After starting Hadoop by
bin/start-all.sh
I run bin/hadoop dfs -ls
which returns me a list of files in my hadoop directory. Then I run bin/hadoop datanode -format
bin/hadoop namenode -format
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?