YARN-4603. FairScheduler should mention user requested queuename in error message when failed in queue ACL check. (Tao Jie via kasha)
(cherry picked from commit 4992398aee
)
This commit is contained in:
parent
4e6fc3ca18
commit
5c2f495fcc
|
@ -43,6 +43,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