Hi Ivan,
Thanks a lot, that makes me very clear now.
I'm using 4.2.2. Then, I think there would be no problems now.
For the bookkeeeper-server benchmark, I found if I run twice, it wont work.
Currently, I have to kill the bookserver, and then restart it to accept the
requests from benchmark.
The msg is like:
2014-06-04 15:26:43,326 - ERROR - [Thread-2:BenchThroughputLatency@170] -
Handle 0 is null!
2014-06-04 15:26:43,326 - ERROR - [Thread-2:BenchThroughputLatency@170] -
Handle 0 is null!
2014-06-04 15:26:43,326 - INFO  - [Thread-2:BenchThroughputLatency@178] -
Sent: 10000
2014-06-04 15:26:43,326 - INFO  - [Thread-3:BenchThroughputLatency$1@147] -
Caught interrupted exception, going away
2014-06-04 15:26:43,326 - INFO  - [Thread-2:BenchThroughputLatency@202] -
Finished processing in ms: 1797 tp = 5564
Exception in thread "main" java.lang.NullPointerException
    at
org.apache.bookkeeper.benchmark.BenchThroughputLatency.close(BenchThroughputLatency.java:108)
    at
org.apache.bookkeeper.benchmark.BenchThroughputLatency.warmUp(BenchThroughputLatency.java:455)
    at
org.apache.bookkeeper.benchmark.BenchThroughputLatency.main(BenchThroughputLatency.java:316)



On Wed, Jun 4, 2014 at 3:14 PM, Ivan Kelly <[email protected]> wrote:

> Which version are you trying to install? Regarding the patch, it will
> no apply against any released version, which is what you should be
> installing if you plan to run bookkeeper. The issue with the tests is
> only an issue with the tests. Basically, we added a mechanism to
> prevent a bookkeeper server from starting if the only ip it can bind
> to is a localhost address, which is not what you want in a production
> environment (generally, you should have multiple bookies, each
> listening on their external ips). The patch is to fix this issue, but
> it shouldn't prevent you running in production. I suggest you download
> the 4.2.2 release and build that with -DskipTests. Alternatively, you
> could download the binary release bookkeeper-server-4.2.2-bin.tar.gz
>
> Regards
> Ivan
>
> On Wed, Jun 04, 2014 at 03:05:07PM -0700, Jaln wrote:
> > Thanks Flavio, finally, I installed it without passing test. By applying
> > the patch, the hedwig-server failed, and returned the following error
> > Failed to execute goal
> > org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
> > (default) on project hedwig-server: Failed to resolve dependencies for
> one
> > or more projects in the reactor. Reason: Missing:
> > [ERROR] ----------
> > [ERROR] 1)
> > org.apache.bookkeeper:bookkeeper-server:test-jar:tests:4.3.0-SNAPSHOT
> > [ERROR]
> > [ERROR] Try downloading the file manually from the project website.
> > [ERROR]
> > [ERROR] Then, install it using the command:
> > [ERROR] mvn install:install-file -DgroupId=org.apache.bookkeeper
> > -DartifactId=bookkeeper-server -Dversion=4.3.0-SNAPSHOT
> -Dclassifier=tests
> > -Dpackaging=test-jar -Dfile=/path/to/file
> >
> > Would you plz shed on light?
> > Thanks,
> > Jaln
>



-- 

Genius only means hard-working all one's life

Reply via email to