title: Failed to start namenode in hadoop?
body: <p>I config Hadoop in windows 7 <a href="http://toodey.com/2015/08/10/hadoop-installation-on-windows-without-cygwin-in-10-mints/">from tutorial</a>
  It setting up a Single Node Cluster.
  When run <code>hdfs namenode -format</code> to format namenode it throw exception like:
  And when <code>start-all.cmd</code> the windows namenode auto forced then I can open namenode GUI in address – <a href="http://localhost:50070">http://localhost:50070</a>.</p>
  
  <p><code>16/01/19 15:18:58 WARN namenode.FSEditLog: No class configured for C, dfs.namenode.edits.journal-plugin.C is empty<br>
  16/01/19 15:18:58 ERROR namenode.NameNode: Failed to start namenode.                                                  java.lang.IllegalArgumentException: No class configured for C                                                                 at org.apache.hadoop.hdfs.server.namenode.FSEditLog.getJournalClass(FSEditLog.java:1615)                              at org.apache.hadoop.hdfs.server.namenode.FSEditLog.createJournal(FSEditLog.java:1629)                                at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournals(FSEditLog.java:282)                                  at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournalsForWrite(FSEditLog.java:247)                          at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:985)                                          at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1429)                                 at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1554)                                   16/01/19 15:18:58 INFO util.ExitUtil: Exiting with status 1                                                           16/01/19 15:18:58 INFO namenode.NameNode: SHUTDOWN_MSG:                                                               /************************************************************</code></p>
  
  <p>Core-site.xml</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;property&gt;
          &lt;name&gt;fs.defaultFS&lt;/name&gt;
          &lt;value&gt;hdfs://localhost:9000&lt;/value&gt;
      &lt;/property&gt;
  &lt;/configuration&gt;   
  </code></pre>
  
  <p>hdfs-site.xml</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;property&gt;
         &lt;name&gt;dfs.replication&lt;/name&gt;
         &lt;value&gt;1&lt;/value&gt;
     &lt;/property&gt;
     &lt;property&gt;
         &lt;name&gt;dfs.namenode.name.dir&lt;/name&gt;
         &lt;value&gt;C:/hadoop/data/namenode&lt;/value&gt;
     &lt;/property&gt;
     &lt;property&gt;
         &lt;name&gt;dfs.datanode.data.dir&lt;/name&gt;
         &lt;value&gt;C:/hadoop/data/datanode&lt;/value&gt;
     &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>mapred-site.xml</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;property&gt;
         &lt;name&gt;mapreduce.framework.name&lt;/name&gt;
         &lt;value&gt;yarn&lt;/value&gt;
      &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>yarn-site.xml</p>
  
  <pre><code>&lt;configuration&gt;
     &lt;property&gt;
         &lt;name&gt;yarn.nodemanager.aux-services&lt;/name&gt;
         &lt;value&gt;mapreduce_shuffle&lt;/value&gt;
     &lt;/property&gt;
     &lt;property&gt;
         &lt;name&gt;yarn.nodemanager.aux-services.mapreduce.shuffle.class&lt;/name&gt;
         &lt;value&gt;org.apache.hadoop.mapred.ShuffleHandler&lt;/value&gt;
     &lt;/property&gt;
  &lt;/configuration&gt;
  </code></pre>