[
https://issues.apache.org/jira/browse/BOOKKEEPER-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766286#comment-13766286
]
Rakesh R commented on BOOKKEEPER-682:
-------------------------------------
I think 'bookkeeper-server-4.2.1.jar' doesn't exists in your hadoop
installation. Only namenode has the dependency with this jar.
Please see, whether you have 'bookkeeper-server-4.2.1.jar' present in the
${HADOOP_HOME}/share/hadoop/hdfs/lib/ ?
> Could not find the main class: org.apache.bookkeeper.proto.BookieServer,
> ------------------------------------------------------------------------
>
> Key: BOOKKEEPER-682
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-682
> Project: Bookkeeper
> Issue Type: Question
> Reporter: SN_cn
>
> I want to build the namenode HA with using the bookkeeper,but when I run
> /bookkeeper bookie command , it don't work:
> JMX enabled by default
> cat:
> /home/chenlin/bookkeeper-4.2.1/bookkeeper-server/target/cached_classpath.txt:
> No such file or directory
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/bookkeeper/proto/BookieServer
> Caused by: java.lang.ClassNotFoundException:
> org.apache.bookkeeper.proto.BookieServer
> 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.apache.bookkeeper.proto.BookieServer.
> Program will exit.
> thanks advance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira