hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anacristing" <99403...@qq.com>
Subject About "Could not find the main class: org.apache.hadoop.hdfs.server.namenode.NameNode"
Date Tue, 15 Apr 2014 08:16:43 GMT
Hi,


    I'm trying to setup Hadoop(version 2.2.0) on Windows(32-bit) with cygwin(version 1.7.5).
    I export JAVA_HOME=/cygdrive/c/Java/jdk1.7.0_51 in hadoop-env.sh 
    and the classpath is
/home/Administrator/hadoop-2.2.0/etc/hadoop:
/home/Administrator/hadoop-2.2.0/share/hadoop/common/lib/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/common/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/hdfs:
/home/Administrator/hadoop-2.2.0/share/hadoop/hdfs/lib/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/hdfs/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/yarn/lib/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/yarn/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/mapreduce/lib/*:
/home/Administrator/hadoop-2.2.0/share/hadoop/mapreduce/*:
/contrib/capacity-scheduler/*.jar



    when I execute "bin/hdfs namenode -format", I get "Could not find the main class: org.apache.hadoop.hdfs.server.namenode.NameNode"


Anybody know why?


Thanks!
Mime
View raw message