Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/server/namenode/NotReplicatedYetException at org.hypertable.DfsBroker.hadoop.main.main(main.java:171) Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hdfs.server.namenode.NotReplicatedYetException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
what is the reason of this error arise? i have put *.jar under correct path. any advice be appreciated. 在 2013年12月13日星期五UTC+8下午2时43分30秒,Xy Zheng写道: > > fixed error: /current/lib/*Java* > > 在 2013年12月13日星期五UTC+8上午11时13分54秒,Xy Zheng写道: >> >> I think this error arised because maybe there is no jar file ( >> hypertable-0.9.7.X(-examples).jar) in /current/lib and >> /current/lib/java/cdhX >> >> you must be compile it and copy to the path mentioned. >> >> how to compile it, you can find method at >> https://groups.google.com/forum/#!topic/hypertable-dev/EqQwB7ls9JU >> >> wow!!! >> >> 在 2013年12月12日星期四UTC+8下午2时08分51秒,Xy Zheng写道: >>> >>> Hi Doug: >>> >>> cap start error as follows: >>> >>> servers: ["dlxa101"] >>> [dlxa101] executing command >>> ** [out :: dlxa101] DFS broker: available file descriptors: 65536 >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] Waiting for DFS Broker (hadoop) (localhost:38030) >>> to come up... >>> ** [out :: dlxa101] ERROR: DFS Broker (hadoop) did not come up >>> >>> [cloudil@dlxa101 bin]$ ./set-hadoop-distro.sh cdh4 >>> Hypertable successfully configured for Hadoop cdh4 >>> >>> DfsBroker.hadoop.log as follows: >>> >>> [cloudil@dlxa101 log]$ tail -f -n20 DfsBroker.hadoop.log >>> No Hadoop distro is configured. Run the following script to >>> configure: >>> >>> >>> /home/cloudil/zxy_hytcluster_test/hypertable_cluster/current/bin/set-hadoop-distro.sh >>> Hypertable successfully configured for Hadoop cdh4 >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/hypertable/DfsBroker/hadoop/main >>> Caused by: java.lang.ClassNotFoundException: >>> org.hypertable.DfsBroker.hadoop.main >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >>> Could not find the main class: org.hypertable.DfsBroker.hadoop.main. >>> Program will exit. >>> >>> can you help me. thank you. >>> >> -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hypertable-dev. For more options, visit https://groups.google.com/groups/opt_out.
