title: Error in formatting in Namenode in hadoop
body: <p>i have installed hadoop , based on cygwin and windows. i have followed the steps from the site: <a href="http://ebiquity.umbc.edu/Tutorials/Hadoop/12%20-%20format%20the%20namendoe.html" rel="nofollow">http://ebiquity.umbc.edu/Tutorials/Hadoop/12%20-%20format%20the%20namendoe.html</a>. but stucked at formatting namendoe. </p>
  
  <p>This give me following error :</p>
  
  <pre><code>$ bin/hadoop namenode -format
  14/02/01 15:29:59 INFO namenode.NameNode: STARTUP_MSG:
  /************************************************************
  STARTUP_MSG: Starting NameNode
  STARTUP_MSG:   host = Satheesh/192.168.2.5
  STARTUP_MSG:   args = [-format]
  STARTUP_MSG:   version = 0.19.1
  STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/core/branches/bra                                                                                                                nch-0.19 -r 745977; compiled by 'ndaley' on Fri Feb 20 00:16:34 UTC 2009
  ************************************************************/
  14/02/01 15:29:59 ERROR namenode.NameNode: java.io.IOException: javax.security.a                                                                                                                uth.login.LoginException: Login failed: Expect one token as the result of whoami                                                                                                                : satheesh\satheesh kumar
          at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGro                                                                                                                upInformation.java:250)
          at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGro                                                                                                                upInformation.java:275)
          at org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGro                                                                                                                upInformation.java:257)
          at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationP                                                                                                                arameters(FSNamesystem.java:426)
          at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.&lt;init&gt;(FSNamesyst                                                                                                                em.java:415)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:                                                                                                                765)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNo                                                                                                                de.java:851)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:86                                                                                                                8)
  
          at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.setConfigurationP                                                                                                                arameters(FSNamesystem.java:428)
          at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.&lt;init&gt;(FSNamesyst                                                                                                                em.java:415)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:                                                                                                                765)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNo                                                                                                                de.java:851)
          at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:86                                                                                                                8)
  
  14/02/01 15:29:59 INFO namenode.NameNode: SHUTDOWN_MSG:
  /************************************************************
  SHUTDOWN_MSG: Shutting down NameNode at Satheesh/192.168.2.5
  ************************************************************/
  </code></pre>
  
  <p>pls help me.</p>