mtitek
  • Cloud
  • Big Data
  • CI
  • Install
  • Samples
  • Java
  • Ubuntu
  • Maven
  • Archive
ZooKeeper | Curator Framework: Print the ACL of a zNode [getACL]
  1. Notes
  2. Example

  1. Notes:
    The code bellow let you read the ACL of a zNode.

    Calling the method "CuratorFramework::getACL" will return a "List<ACL>" list.

    You will get this error if the zNode doesn't exist in ZooKeeper:
    In order for the code bellow to work:
    ► Make sure to update the "CONNECT_STRING" variable with your information.
  2. Example
    Here's an example of how to read the ACL of a zNode:
© 2020  mtitek