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
…#4350)

(cherry picked from commit f390eda)

Change-Id: If2dccabb4ef01d27da02e86a4317e666dcd34073
  • Loading branch information
omalley authored and steveloughran committed Jun 22, 2022
1 parent 5e47894 commit 953255a
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 953255a

Please sign in to comment.