Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1391

zkCli dies on NoAuth

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.4.2
    • 3.5.0
    • java client
    • None

    Description

      [zk: localhost:2181(CONNECTED) 1] create /sasltest/n4 c sasl:notme@EXAMPLE.COM:cdrwa
      Created /sasltest/n4
      [zk: localhost:2181(CONNECTED) 2] ls /sasltest/n4
      Exception in thread "main" org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /sasltest/n4
      at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
      at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
      at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1448)
      at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1476)
      at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:717)
      at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:593)
      at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:365)
      at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:323)
      at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:282)

      Attachments

        1. ZOOKEEPER-1391.patch
          4 kB
          Hartmut Lang
        2. ZOOKEEPER-1391.patch
          3 kB
          Hartmut Lang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlang Hartmut Lang
            thw Thomas Weise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment