diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index b9431f614c..5472db5db4 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -754,6 +754,9 @@ Release 2.1.0-beta - 2013-07-02 YARN-688. Fixed NodeManager to properly cleanup containers when it is shut down. (Jian He via vinodkv) + YARN-960. Fixed ResourceManager to propagate client-submitted credentials + irrespective of security. (Daryn Sharp via vinodkv) + BREAKDOWN OF HADOOP-8562/YARN-191 SUBTASKS AND RELATED JIRAS YARN-158. Yarn creating package-info.java must not depend on sh. diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/AMLauncher.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/AMLauncher.java index 7dc19b5829..6b8eacded6 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/AMLauncher.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/amlauncher/AMLauncher.java @@ -216,16 +216,11 @@ private void setupTokens( applicationId).getMaxAppAttempts())); Credentials credentials = new Credentials(); - - if (UserGroupInformation.isSecurityEnabled()) { - // TODO: Security enabled/disabled info should come from RM. - - DataInputByteBuffer dibb = new DataInputByteBuffer(); - if (container.getTokens() != null) { - // TODO: Don't do this kind of checks everywhere. - dibb.reset(container.getTokens()); - credentials.readTokenStorageStream(dibb); - } + DataInputByteBuffer dibb = new DataInputByteBuffer(); + if (container.getTokens() != null) { + // TODO: Don't do this kind of checks everywhere. + dibb.reset(container.getTokens()); + credentials.readTokenStorageStream(dibb); } // Add AMRMToken