Resolved: Silly Issue with Hadoop Node Format
I started setting up hadoop cluster with 2 servers. And somehow couldn’t get past the ‘namenode format’ stage. That was strange considering I wasn’t a newbie. It consistently threw the following exception now matter what I did:
[XXX]$ bin/hadoop namenode -format
INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = hadoop1/127.0.0.1
STARTUP_MSG: args = [-format]
STARTUP_MSG: version = 0.20.2
STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20 -r 911707; compiled by 'chrisdo' on Fri Feb 19 08:07:34 UTC 2010
************************************************************/
Re-format filesystem in /data/hadoop/name ? (Y or N) y
Format aborted in /data/hadoop/name
INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hadoop1/127.0.0.1
************************************************************/
And finally I resolved it. It turned of to be a silly case sensitivity issue. So “Y” was suppose to be uppercase…Damn!! 🙂
thanks, helpful!
However it looks very bad on the hadoop developers!
I had this Problem , but now You help me, thank you very very much
yikes… it got me, too.
thanks a lot for posting this simple but very helpful message!!!
thnks
Thank you a million times for posting this. I just had the same problem and was afraid I had made a major error in configuring Hadoop.
Thank you very much.