You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2017/10/04 07:52:15 UTC
[bookkeeper] 02/06: ISSUE #407: Enable allowLoopback when starting
localbookie
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch branch-4.5
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 9d139ae40e95f7eb79e389edf2a0fa2d89d1e9c3
Author: Enrico Olivelli <eo...@apache.org>
AuthorDate: Mon Aug 21 21:38:05 2017 +0200
ISSUE #407: Enable allowLoopback when starting localbookie
Add allowLoopback=true flag in ServerConfiguration used in main() of LocalBookie facility
Author: Enrico Olivelli <eo...@apache.org>
Reviewers: Matteo Merli <mm...@apache.org>
This closes #457 from eolivelli/issue-407, closes #407
---
.../src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
index 77ce25f..f03767c 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
@@ -323,6 +323,7 @@ public class LocalBookKeeper {
int numBookies = Integer.parseInt(args[0]);
ServerConfiguration conf = new ServerConfiguration();
+ conf.setAllowLoopback(true);
if (args.length >= 2) {
String confFile = args[1];
try {
--
To stop receiving notification emails like this one, please contact
"commits@bookkeeper.apache.org" <co...@bookkeeper.apache.org>.