Class ZooAclUtil.ZkAccumuloAclStatus

  • Enclosing class:
    ZooAclUtil

    public static class ZooAclUtil.ZkAccumuloAclStatus
    extends Object
    Wrapper for decoding ZooKeeper ACLs in context of Accumulo usages. The expected usage is this will be used by Accumulo utilities that print or check permissions of ZooKeeper nodes created / owned by Accumulo.
    • It is expected that the authenticated Accumulo session will have cdrwa (ALL ZooKeeper permissions). accumuloHasFull() should true.
    • Typically, no other users should have permissions to modify any node in ZooKeeper under the /accumulo path except for /accumulo/instances path othersMayUpdate() return false.
    • Most ZooKeeper nodes permit world read - a few are sensitive and are accessible only by the authenticated Accumulo sessions. anyCanRead() returns true.
    • Constructor Detail

      • ZkAccumuloAclStatus

        public ZkAccumuloAclStatus()
    • Method Detail

      • accumuloHasFull

        public boolean accumuloHasFull()
      • setAccumuloHasFull

        public void setAccumuloHasFull()
      • othersMayUpdate

        public boolean othersMayUpdate()
      • setOthersMayUpdate

        public void setOthersMayUpdate()
      • anyCanRead

        public boolean anyCanRead()
      • setAnyCanRead

        public void setAnyCanRead()