Try making $HADOOP_CONF point to right classpath including your configuration folder.
On Tue, Nov 29, 2011 at 3:58 PM, cat fa <boost.subscrib...@gmail.com> wrote: > I used the command : > > $HADOOP_PREFIX_HOME/bin/hdfs start namenode --config $HADOOP_CONF_DIR > > to sart HDFS. > > This command is in Hadoop document (here > < > http://hadoop.apache.org/common/docs/r0.23.0/hadoop-yarn/hadoop-yarn-site/ClusterSetup.html > >) > > However, I got errors as > > Exception in thread "main" java.lang.NoClassDefFoundError:start > > Could anyone tell me how to start and stop HDFS? > > By the way, how to set Gmail so that it doesn't top post my reply? >