[ 
https://issues.apache.org/jira/browse/YARN-5722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15662132#comment-15662132
 ] 

Wilfred Spiegelenburg commented on YARN-5722:
---------------------------------------------

Sorry for the late reply. I was doing other internal work for a couple of days.

The queue has not been assigned yet because we have failed in one of the 
placement rules.

That means the queue as we know it at that point will be the passed in queue to 
the {{assingToQueue}} call. This will most likely be the "default" queue unless 
the user has passed in a queue name in the configuration when submitted. In 
neither case the queue name will add or explain anything and it might even be 
confusing since the queue is irrelevant.

Let me know if you still want to add the queue name to the error message.

> FairScheduler hides group resolution exceptions when assigning queue 
> ---------------------------------------------------------------------
>
>                 Key: YARN-5722
>                 URL: https://issues.apache.org/jira/browse/YARN-5722
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 2.6.5, 3.0.0-alpha1
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>              Labels: oct16-easy
>         Attachments: YARN-5722.1.patch
>
>
> When a group based placement rule is used and the user does not have any 
> groups the reason for rejecting the application is hidden. An assignment will 
> fail as follows:
> {code}
> <rule name="primaryGroup" create="true" /> 
> <rule name="reject" /> 
> {code}
> The error logged on the client side:
> {code}
> 09/30 15:59:27 INFO mapreduce.JobSubmitter: Cleaning up the staging area 
> /user/test_user/.staging/job_1475223610304_6043 
> 16/09/30 15:59:27 WARN security.UserGroupInformation: 
> PriviledgedActionException as:test_user (auth:SIMPLE) 
> cause:java.io.IOException: Failed to run job : Error assigning app to queue 
> default 
> java.io.IOException: Failed to run job : Error assigning app to queue default 
> at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:301) 
> at 
> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:244)
>  
> at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1307) 
> {code}
> The {{default}} queue name is passed in as part of the application submission 
> and not really the queue that is tried.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to