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

IP ACL is not working with NettyServerCnxnFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.5.0
    • None
    • None
    • None

    Description

      IP based ACL is not working with NettyServerCnxnFactory.

      Scenario:
      1) Configure serverCnxnFactory= org.apache.zookeeper.server.NettyServerCnxnFactory and start ZooKeeper server
      2) Create a znode "/n" with ACL(ZooDefs.Perms.ALL, new Id("ip", "127.0.0.1/8")
      3) Create child node /n/n1. Child node creation fails.
      But the same above scenario works with NIOServerCnxnFactory

      Attachments

        1. ZOOKEEPER-2547-02.patch
          5 kB
          Mohammad Arshad
        2. ZOOKEEPER-2547-01.patch
          4 kB
          Mohammad Arshad

        Issue Links

          Activity

            People

              arshad.mohammad Mohammad Arshad
              arshad.mohammad Mohammad Arshad
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: