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 committed May 24, 2022
1 parent 5ab7472 commit b9b927a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 b9b927a

Please # to comment.