title: Hive failed to create /user/hive/warehouse
body: <p>I just get started on Apache Hive, and I am using my local Ubuntu box 12.04, with Hive 0.10.0 and Hadoop 1.1.2.</p>
  
  <p>Following the official "<a href="https://cwiki.apache.org/confluence/display/Hive/GettingStarted">Getting Started</a>" guide on Apache website, I am now stuck at the Hadoop command to create the hive metastore with the command in the guide:</p>
  
  <pre><code>$ $HADOOP_HOME/bin/hadoop fs -mkdir       /user/hive/warehouse
  </code></pre>
  
  <p>the error was <code>mkdir: failed to create /user/hive/warehouse</code></p>
  
  <p>Does Hive require hadoop in a specific mode? I know I didn't have to do much to my Hadoop installation other that update JAVA_HOME so it is in standalone mode. I am sure Hadoop itself is working since I am run the PI example that comes with hadoop installation. </p>
  
  <p>Also, the other command to create <code>/tmp</code> shows the <code>/tmp</code> directory already exists so it didn't recreate, and <code>/bin/hadoop fs -ls</code> is listing the current directory. </p>
  
  <p>So, how can I get around it? </p>