bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [bookkeeper] 02/06: ISSUE #407: Enable allowLoopback when starting localbookie
Date Wed, 04 Oct 2017 07:52:15 GMT
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 <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