MAPREDUCE-2938. Log application submission failure in CapacityScheduler
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1166006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8815bdf304
commit
0ecba04727
|
@ -1216,6 +1216,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
|
||||
|
|
|
@ -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()));
|
||||
|
|
Loading…
Reference in New Issue