bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eolive...@apache.org
Subject [bookkeeper] branch master updated: ISSUE #407: Enable allowLoopback when starting localbookie
Date Mon, 21 Aug 2017 19:38:30 GMT
This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e4c027  ISSUE #407: Enable allowLoopback when starting localbookie
3e4c027 is described below

commit 3e4c02731787e730c039d6da17ab85b69e73daa1
Author: Enrico Olivelli <eolivelli@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 <eolivelli@apache.org>
    
    Reviewers: Matteo Merli <mmerli@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" <commits@bookkeeper.apache.org>'].

Mime
View raw message