YARN-5722. FairScheduler hides group resolution exceptions when assigning queue (Contributed by Wilfred Spiegelenburg via Daniel Templeton)
(cherry picked from commit 83cc7263af
)
This commit is contained in:
parent
2207a84a7d
commit
06f5d27bd6
|
@ -767,7 +767,8 @@ public class FairScheduler extends
|
|||
} catch (InvalidQueueNameException qne) {
|
||||
appRejectMsg = qne.getMessage();
|
||||
} catch (IOException ioe) {
|
||||
appRejectMsg = "Error assigning app to queue " + queueName;
|
||||
// IOException should only happen for a user without groups
|
||||
appRejectMsg = "Error assigning app to a queue: " + ioe.getMessage();
|
||||
}
|
||||
|
||||
if (appRejectMsg != null && rmApp != null) {
|
||||
|
|
Loading…
Reference in New Issue