You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by gi...@git.apache.org on 2017/08/18 17:33:29 UTC
[GitHub] eolivelli opened a new issue #451: Error in downstream projects due to loopback address choosen by default event if not allowed and non-loopback address available
eolivelli opened a new issue #451: Error in downstream projects due to loopback address choosen by default event if not allowed and non-loopback address available
URL: https://github.com/apache/bookkeeper/issues/451
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do?
run tests of downstream project HerdDB (github.com/diennea/herddb)
- What did you expect to see?
tests running, bookie starting as expected
- What did you see instead?
java.net.UnknownHostException: Trying to listen on loopback address, localhost:3181 but this is forbidden by default (see ServerConfiguration#getAllowLoopback())
at org.apache.bookkeeper.bookie.Bookie.getBookieAddress(Bookie.java:601)
at org.apache.bookkeeper.proto.BookieNettyServer.<init>(BookieNettyServer.java:139)
at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:98)
at herddb.cluster.EmbeddedBookie.start(EmbeddedBookie.java:140)
at herddb.server.Server.start(Server.java:327)
at herddb.server.EmbeddedBookieTest.test_boot_with_bookie(EmbeddedBookieTest.java:99)
With the most recent commits before 4.5 release we changed something which makes the bookie select the loopback address.
This problem happens sometimes in downstream projects
We should revert the behaviour and maybe release an hotfix, this change can cause eventually problems in production environments
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services