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 <[email protected]>
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 <[email protected]>
    
    Reviewers: Matteo Merli <[email protected]>
    
    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
"[email protected]" <[email protected]>.

Reply via email to