Hi Since you are using Hadoop 0.20
When you are formatting please use upper case 'Y' , in other versions this was fixed. Please try again the formatting with upper case Y Thanks Jagat Singh On Fri, Jun 1, 2012 at 5:19 PM, soham sardar <[email protected]>wrote: > when i try to run the namenode on my system it just doesnt respond : > > command line run was : > > hadoop-0.20 namenode -format > > and the error is > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351) > at > org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:150) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.<clinit>(NameNode.java:116) > log4j:ERROR Either File or DatePattern options are not set for appender > [DRFAS]. > 12/06/01 17:14:14 INFO namenode.NameNode: STARTUP_MSG: > /************************************************************ > STARTUP_MSG: Starting NameNode > STARTUP_MSG: host = XPS-L501X/127.0.1.1 > STARTUP_MSG: args = [-format] > STARTUP_MSG: version = 0.20.2-cdh3u4 > STARTUP_MSG: build = > file:///data/1/tmp/nightly_2012-05-07_12-47-23_3/hadoop-0.20-0.20.2+923.256-1~lenny > -r 214dd731e3bdb687cb55988d3f47dd9e248c5690; compiled by 'root' on Mon May > 7 14:02:15 PDT 2012 > ************************************************************/ > Re-format filesystem in /tmp/hadoop-soham/dfs/name ? (Y or N) y > Format aborted in /tmp/hadoop-soham/dfs/name > 12/06/01 17:14:21 INFO namenode.NameNode: SHUTDOWN_MSG: > /************************************************************ > SHUTDOWN_MSG: Shutting down NameNode at XPS-L501X/127.0.1.1 > ************************************************************/ > > > and it actually doesnt even start or stop.. > Can anyone help me as to how to correct this error plzzzzz :) >
