From 9dd0b7a2ab6538d8f72b004eb97c2750ff3d98dd Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Thu, 29 Jan 2015 09:29:59 -0800 Subject: [PATCH] YARN-2428. LCE default banned user list should have yarn (Varun Saxena via aw) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../main/native/container-executor/impl/container-executor.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index ae3832b3c1..b582f22417 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/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 diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c index 4fc78b6210..f73776e422 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/container-executor.c +++ b/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;