Hello,

I am trying to start a DataNodeCluster using the following command:


bin/hadoop-daemon.sh start org.apache.hadoop.hdfs.DataNodeCluster  -simulated 
-n $DATANODE_PER_HOST -inject $STARTING_BLOCK_ID $BLOCKS_PER_DN

As described in HADOOP-6383 [https://issues.apache.org/jira/browse/HADOOP-6383].

And I get this error:


starting org.apache.hadoop.hdfs.DataNodeCluster, logging to 
/u/g/a/gale/private/dev-hadoop/hadoop-common-trunk/logs/gale/gale/hadoop-gale-org.apache.hadoop.hdfs.DataNodeCluster-.out
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/hdfs/DataNodeCluster
Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.hdfs.DataNodeCluster
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: org.apache.hadoop.hdfs.DataNodeCluster. Program 
will exit.

I had previously gotten it to work in version 0.21.0 but now I am in version 
0.23.0.  Is there something I should be compiling or am otherwise missing?

Thanks,

Elise

Reply via email to