From 3ef36b9db9ce12ad22cab4092842b67b962c2ce0 Mon Sep 17 00:00:00 2001 From: russ stevenson Date: Wed, 21 Jun 2023 10:50:04 -0700 Subject: [PATCH] Update directories.py update for additional cdp directory required per: https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/yarn-allocate-resources/topics/yarn-configuring-node-labels.html --- src/isilon_hadoop_tools/directories.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/isilon_hadoop_tools/directories.py b/src/isilon_hadoop_tools/directories.py index f1f3363..6790de9 100644 --- a/src/isilon_hadoop_tools/directories.py +++ b/src/isilon_hadoop_tools/directories.py @@ -181,9 +181,7 @@ def cdp_directories(identity_suffix=None): HDFSDirectory("/user/yarn/mapreduce", "hdfs", "supergroup", 0o775), HDFSDirectory("/user/yarn/mapreduce/mr-framework", "yarn", "hadoop", 0o775), HDFSDirectory("/user/yarn/services", "hdfs", "supergroup", 0o775), - HDFSDirectory( - "/user/yarn/services/service-framework", "hdfs", "supergroup", 0o775 - ), + HDFSDirectory("/user/yarn/services/service-framework", "hdfs", "supergroup", 0o775), HDFSDirectory("/user/zeppelin", "zeppelin", "zeppelin", 0o775), HDFSDirectory("/warehouse", "hdfs", "supergroup", 0o775), HDFSDirectory("/warehouse/tablespace", "hdfs", "supergroup", 0o775), @@ -191,6 +189,8 @@ def cdp_directories(identity_suffix=None): HDFSDirectory("/warehouse/tablespace/managed", "hdfs", "supergroup", 0o775), HDFSDirectory("/warehouse/tablespace/external/hive", "hive", "hive", 0o1775), HDFSDirectory("/warehouse/tablespace/managed/hive", "hive", "hive", 0o1775), + HDFSDirectory("/yarn", "yarn", "yarn", 0o700), + HDFSDirectory("/yarn/node-labels", "yarn", "yarn", 0o700), ] if identity_suffix: for directory in directories: