فهرست منبع

Merge -r 1166005:1166006 from trunk to branch-0.23 to fix MAPREDUCE-2938.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1166007 13f79535-47bb-0310-9956-ffa450edef68
Arun Murthy 13 سال پیش
والد
کامیت
210eb9ee47

+ 3 - 0
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

+ 2 - 0
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()));