title: hadoop creates dir that cannot be found
body: <p>I use the following hadoop command to create a directory</p>
  
  <pre><code> hdfs dfs -mkdir /tmp/testing/morehere1
  </code></pre>
  
  <p>I get the following message:</p>
  
  <pre><code> log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
  </code></pre>
  
  <p>log4j:WARN Please initialize the log4j system properly.</p>
  
  <p>Not understanding the error, I run the command again, which returns this message:</p>
  
  <pre><code> log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
   log4j:WARN Please initialize the log4j system properly.
   mkdir: `/tmp/testing/morehere2': File exists
  </code></pre>
  
  <p>then when I try to go to the directory just created, it's not there.</p>
  
  <pre><code>cd /tmp/testing/morehere2
   -bash: cd: /tmp/testing/morehere2: No such file or directory
  </code></pre>
  
  <p>Any ideas what I am doing wrong?</p>