Skip to content

bin/dlog unbind is broken #1961

@ivankelly

Description

@ivankelly
root@XXXXX:/bookkeeper# bin/dlog admin unbind -f distributedlog://XXXX:2181/XXXXX
Fail to run tool org.apache.distributedlog.admin.DistributedLogAdmin : 
java.lang.IllegalArgumentException: Zookeeper acl id not set.
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
        at org.apache.distributedlog.ZooKeeperClientBuilder.validateParameters(ZooKeeperClientBuilder.java:199)
        at org.apache.distributedlog.ZooKeeperClientBuilder.buildClient(ZooKeeperClientBuilder.java:215)
        at org.apache.distributedlog.ZooKeeperClientBuilder.build(ZooKeeperClientBuilder.java:209)
        at org.apache.distributedlog.admin.DistributedLogAdmin$UnbindCommand.runCmd(DistributedLogAdmin.java:464)
        at org.apache.distributedlog.tools.Tool$OptsCommand.runCmd(Tool.java:96)
        at org.apache.distributedlog.tools.Tool.run(Tool.java:223)
        at org.apache.distributedlog.tools.Tool.main(Tool.java:239)

It looks like the builder for ZooKeeperClient requires something be set for the acl, even if null.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions