我遵循udemy课程的一些指示,并成功格式化了一次hdfs。现在我尝试返回并再次按照步骤操作,并收到以下错误:
$ hadoop namenode -format
Warning: $HADOOP_HOME is deprecated.
15/01/16 22:16:15 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = lucid64/127.0.1.1
STARTUP_MSG: args = [format]
STARTUP_MSG: version = 1.2.1
STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1503152; compiled by 'mattf' on Mon Jul 22 15:23:09 PDT 2013
STARTUP_MSG: java = 1.6.0_33
************************************************************/
Usage: java NameNode [-format [-force ] [-nonInteractive]] | [-upgrade] | [-rollback] | [-finalize] | [-importCheckpoint] | [-recover [ -force ] ]
15/01/16 22:16:15 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at lucid64/127.0.1.1
************************************************************/
看起来任何事情都没有真正开始,我没有得到堆栈跟踪或有意义(对我而言)错误。