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

Reply via email to