Github user danny0405 commented on a diff in the pull request:
https://github.com/apache/storm/pull/2433#discussion_r152717747
--- Diff:
storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java ---
@@ -231,7 +183,15 @@
@VisibleForTesting
public static final List<ACL> ZK_ACLS =
Arrays.asList(ZooDefs.Ids.CREATOR_ALL_ACL.get(0),
- new ACL(ZooDefs.Perms.READ | ZooDefs.Perms.CREATE,
ZooDefs.Ids.ANYONE_ID_UNSAFE));
+ new ACL(ZooDefs.Perms.READ ^ ZooDefs.Perms.CREATE,
ZooDefs.Ids.ANYONE_ID_UNSAFE));
--- End diff --
i copy it from old nimbus.clj, i didn't get the point why 2.0 change it to
or
---