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.
|
YARN-4559. Make leader elector and zk store share the same curator client.
|
||||||
(Jian He via xgong)
|
(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
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -656,7 +656,8 @@ protected synchronized void addApplication(ApplicationId applicationId,
|
|||||||
if (!queue.hasAccess(QueueACL.SUBMIT_APPLICATIONS, userUgi)
|
if (!queue.hasAccess(QueueACL.SUBMIT_APPLICATIONS, userUgi)
|
||||||
&& !queue.hasAccess(QueueACL.ADMINISTER_QUEUE, userUgi)) {
|
&& !queue.hasAccess(QueueACL.ADMINISTER_QUEUE, userUgi)) {
|
||||||
String msg = "User " + userUgi.getUserName() +
|
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);
|
LOG.info(msg);
|
||||||
rmContext.getDispatcher().getEventHandler()
|
rmContext.getDispatcher().getEventHandler()
|
||||||
.handle(new RMAppEvent(applicationId,
|
.handle(new RMAppEvent(applicationId,
|
||||||
|
Loading…
Reference in New Issue
Block a user