title: Hadoop -mkdir : - Could not create the Java Virtual Machine
body: <p>I have configured the Hadoop 1.0.4 and started the following without any issue:</p>
  
  <pre><code>1. $ start-dfs.sh : -Works fine
  
  2. $ start-mapred.sh : - Work fine
  
  3. $ jps  (Output is below)
  </code></pre>
  
  <p><strong>Out put:</strong> </p>
  
  <pre><code>rahul@rahul-Inspiron-N4010:/usr/local/hadoop-1.0.4/bin$ jps
  
  6964 DataNode
  
  7147 SecondaryNameNode
  
  6808 NameNode
  
  7836 Jps
  
  7254 JobTracker
  
  7418 TaskTracker
  </code></pre>
  
  <p><strong>But facing issue:</strong> While issuing command </p>
  
  <pre><code>rahul@rahul-Inspiron-N4010:/usr/local/hadoop-1.0.4/bin$ hadoop -mkdir /user
  </code></pre>
  
  <p>Getting following error</p>
  
  <pre><code>Unrecognized option: -mkdir
  Error: Could not create the Java Virtual Machine.
  Error: A fatal exception has occurred. Program will exit.
  </code></pre>
  
  <p>I applied the patch : <strong>HDFS-1943.patch</strong> but not use full</p>