diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index e2e188f70fb..3de219145d0 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -1210,6 +1210,9 @@ Release 0.23.0 - Unreleased MAPREDUCE-2800. Set final progress for tasks to ensure all task information is correctly logged to JobHistory. (Siddharth Seth via acmurthy) + MAPREDUCE-2938. Log application submission failure in CapacityScheduler. + (acmurthy) + Release 0.22.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java index 21ae4ac6660..4fff1ff1a44 100644 --- a/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java +++ b/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java @@ -355,6 +355,8 @@ implements ResourceScheduler, CapacitySchedulerContext { try { queue.submitApplication(SchedulerApp, user, queueName); } catch (AccessControlException ace) { + LOG.info("Failed to submit application " + applicationAttemptId + + " to queue " + queueName + " from user " + user, ace); this.rmContext.getDispatcher().getEventHandler().handle( new RMAppAttemptRejectedEvent(applicationAttemptId, ace.toString()));