My file path
C :/ cygwin
c :/ cygwin/home/Administrator/hadoop-1.0.4
d :/ Java/jdk1.6.0_03
hodoop-env.sh add
export
export JAVA_HOME = / cygdrive/d/Java/jdk1.6.0_03
export HADOOP_COMMON_HOME = / home/Administrator/hadoop-1.0.4
$ bin / hadoop NameNode-format
Back
java.lang.NoClassDefFounError: NameNode
Exception in thread "main"
How can we solve , my java program is running normally resident agencies that hadoop can not be formatted
------ Solution ------------------ --------------------------
bin / hadoop namenode-format
------ For reference only - --------------------------------------
Thank javalzbin, watching the "real Hadoop "the book, did not pay attention to documentation is lowercase .
没有评论:
发表评论