瀏覽代碼

YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw)

Allen Wittenauer 10 年之前
父節點
當前提交
9dd0b7a2ab

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

@@ -34,6 +34,9 @@ Trunk - Unreleased
 
     YARN-3002. YARN documentation needs updating post-shell rewrite (aw)
 
+    YARN-2428. LCE default banned user list should have yarn (Varun
+    Saxena via aw)
+
 Release 2.7.0 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c

@@ -38,7 +38,7 @@
 
 static const int DEFAULT_MIN_USERID = 1000;
 
-static const char* DEFAULT_BANNED_USERS[] = {"mapred", "hdfs", "bin", 0};
+static const char* DEFAULT_BANNED_USERS[] = {"yarn", "mapred", "hdfs", "bin", 0};
 
 //struct to store the user details
 struct passwd *user_detail = NULL;