[
https://issues.apache.org/jira/browse/BOOKKEEPER-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768171#comment-13768171
]
Uma Maheswara Rao G commented on BOOKKEEPER-682:
------------------------------------------------
Please not that, current BKJM building pdist command automaticaly shade the BK
jar into BKJM jar itself. With 4.2 we have to use non shaded jar which can be
generated directly by just clean install build options.
So, we will need to keep bk jar explicitely. We will fix up this soon in
HDFS-4286
So, above resolution is anyway correct to proceed. can we close this JIRA then?
We did not mention this point in BKJM docs as HDFS-4286 did not go in. mind
adding comment in HDFS-4286 or you can file a small JIRA for doc updation under
HDFS-3399?
Thanks SN_cn for your test.
> 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