YARN-4603. FairScheduler should mention user requested queuename in error message when failed in queue ACL check. (Tao Jie via kasha)
This commit is contained in:
parent
f858ac2426
commit
4992398aee
|
@ -101,6 +101,9 @@ Release 2.9.0 - UNRELEASED
|
|||
YARN-4559. Make leader elector and zk store share the same curator client.
|
||||
(Jian He via xgong)
|
||||
|
||||
YARN-4603. FairScheduler should mention user requested queuename in error
|
||||
message when failed in queue ACL check. (Tao Jie via kasha)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -656,7 +656,8 @@ public class FairScheduler extends
|
|||
if (!queue.hasAccess(QueueACL.SUBMIT_APPLICATIONS, userUgi)
|
||||
&& !queue.hasAccess(QueueACL.ADMINISTER_QUEUE, userUgi)) {
|
||||
String msg = "User " + userUgi.getUserName() +
|
||||
" cannot submit applications to queue " + queue.getName();
|
||||
" cannot submit applications to queue " + queue.getName() +
|
||||
"(requested queuename is " + queueName + ")";
|
||||
LOG.info(msg);
|
||||
rmContext.getDispatcher().getEventHandler()
|
||||
.handle(new RMAppEvent(applicationId,
|
||||
|
|
Loading…
Reference in New Issue