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

Wangda Tan commented on YARN-4495:
----------------------------------

Hi [~sandflee],

bq. .. one problem, seems hadoop rpc could only transfer simple exceptions(only 
this a msg of string), that's to say, we couldn't add containerInfo to 
InvalidResourceRequestException.
I'm not sure if the statement is true, I found javadoc of 
ApplicationMasterProtocol states it could throw IRRE. I would suggest to write 
a test program to see if IRRE could be caught by client.

> add a way to tell AM container increase/decrease request is invalid
> -------------------------------------------------------------------
>
>                 Key: YARN-4495
>                 URL: https://issues.apache.org/jira/browse/YARN-4495
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: sandflee
>         Attachments: YARN-4495.01.patch
>
>
> now RM may pass InvalidResourceRequestException to AM or just ignore the 
> change request, the former will cause AMRMClientAsync down. and the latter 
> will leave AM waiting for the relay.  



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

Reply via email to