This is an automated email from the ASF dual-hosted git repository.

sijie 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 ecf1c71  Issue #1961: Included ZooKeeper client AclId.
ecf1c71 is described below

commit ecf1c715f88feb8bcaf08b9063f774b0443f7ead
Author: Hugo Abreu <[email protected]>
AuthorDate: Wed Jul 17 08:41:39 2019 +0100

    Issue #1961: Included ZooKeeper client AclId.
    
    Descriptions of the changes in this PR:
    Included ZooKeeper Acl to the builder.
    
    ### Changes
    
    It is now possible to unbind DistributedLog namesapaces.
    
    Master Issue: #1961
    
    
    Reviewers: Ivan Kelly <[email protected]>, Sijie Guo <None>
    
    This closes #2118 from hugomiguelabreu/master, closes #1961
---
 .../main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
 
b/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
index 2ecd338..1776c3e 100644
--- 
a/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
+++ 
b/stream/distributedlog/core/src/main/java/org/apache/distributedlog/admin/DistributedLogAdmin.java
@@ -460,7 +460,7 @@ public class DistributedLogAdmin extends DistributedLogTool 
{
             boolean force = cmdline.hasOption("f");
             URI uri = URI.create(args[0]);
             // resolving the uri to see if there is another bindings in this 
uri.
-            ZooKeeperClient zkc = ZooKeeperClientBuilder.newBuilder().uri(uri)
+            ZooKeeperClient zkc = 
ZooKeeperClientBuilder.newBuilder().uri(uri).zkAclId(null)
                     .sessionTimeoutMs(10000).build();
             BKDLConfig bkdlConfig;
             try {

Reply via email to