[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765376#comment-13765376
 ] 

Uma Maheswara Rao G commented on BOOKKEEPER-682:
------------------------------------------------

Looks like your classpath is not correct or bk jars not available. 
Can you tell me from where you are executing this command?

IMO, quetions should be asked in mailing lists instead of using JIRAs. We 
generally use JIRA for confirmed bugs to track for fixing them.
I just noticed the flow name 'Question', But I never used this before.


Regards,
Uma
                
> 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

Reply via email to