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

Hitesh Shah commented on YARN-3131:
-----------------------------------

The simpler fix might be to do all server-side checks in a synchronous manner 
and throw an exception back to the client from the RM itself when an invalid 
app is submitted. 

Examples of invalid app submissions: 
   - invalid queue
   - resource specifications for the AM are invalid
   - other fields/values out of range or not set. 



> YarnClientImpl should check FAILED and KILLED state in submitApplication
> ------------------------------------------------------------------------
>
>                 Key: YARN-3131
>                 URL: https://issues.apache.org/jira/browse/YARN-3131
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chang Li
>            Assignee: Chang Li
>
> Just run into a issue when submit a job into a non-existent queue and 
> YarnClient raise no exception. Though that job indeed get submitted 
> successfully and just failed immediately after, it will be better if 
> YarnClient can handle the immediate fail situation like YarnRunner does



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

Reply via email to