Great...Thanks a lot Enrico!! This is quite helpful and exactly what I
needed. :)

On Mon, May 29, 2017 at 5:39 PM, Enrico Olivelli <eolive...@gmail.com>
wrote:

> Another way:
> if you only want to understand bookie internals you can set some
> breakpoint inside tests cases and then launch the debugger of your IDE
> (I don't know IntelliJ)
>
> -- Enrico
>
>
> 2017-05-29 14:07 GMT+02:00 Enrico Olivelli <eolive...@gmail.com>:
> > Hi Rajul,
> > If you need some bunch of Bookies you can start a pool of bookies just
> > by running
> > bookkeeper localbookie NUM-BOOKIES
> >
> > see http://bookkeeper.apache.org/docs/master/bookkeeperTutorial.html
> >
> > If you need to integrate BookKeeper in JUnit tests currently there is
> > no standard way of doing so, you have to start ZooKeeper and at least
> > one Bookie in the same JVM of the test
> >
> > I can share my code (which in uses Apache Curator to start ZK server),
> > hope that helps
> > https://github.com/diennea/herddb/blob/master/herddb-
> core/src/test/java/herddb/utils/ZKTestEnv.java
> >
> >
> >
> > -- Enrico
> >
> >
> > 2017-05-29 13:10 GMT+02:00 Rajul Srivastava <raju...@gmail.com>:
> >> Hi All,
> >>
> >> I am trying to play around and learn the Apache Bookkeeper code base
> >> currently. For that purpose, I wanted to start the Bookkeeper server and
> >> debug it using an IDE, IntelliJ in my case. When I start the first
> message
> >> in the logs says that "JMX is enabled by default". However, it does not
> >> tell the port number.
> >>
> >> Could someone please help me out and tell me the JMX port number and
> also
> >> how do I connect to it to debug locally?
> >>
> >> I sincerely apologize if I am asking a way to obvious question. I did
> try
> >> and look around for this but could not find anything of much use. Also,
> I
> >> will be more than grateful if someone could make some more suggestions
> as
> >> how to go about exploring the code base and learning more about this
> >> project.
> >>
> >> Thanks!!
> >>
> >> Best Regards,
> >> Rajul
>

Reply via email to