Skip to content

Commit

Permalink
YARN-11162. Set the zk acl for nodes created by ZKConfigurationStore. (
Browse files Browse the repository at this point in the history
  • Loading branch information
omalley authored and HarshitGupta11 committed Nov 28, 2022
1 parent fa4e2ef commit 6e742f8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -251,7 +251,7 @@ public List<LogMutation> getConfirmedConfHistory(long fromId) {
private boolean createNewZkPath(String path) throws Exception {
if (!zkManager.exists(path)) {
try {
zkManager.create(path);
zkManager.create(path, zkAcl);
} catch(NodeExistsException e) {
LOG.warn(NODEEXISTS_MSG, e);
return false;
Expand Down

0 comments on commit 6e742f8

Please sign in to comment.