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

Jian He commented on YARN-2209:
-------------------------------

bq. No need to change to split a single statement into the following two.
This is required, because the following finally block needs this temporary 
variable. 
bq. Why does it not need to take the remaining operations after code change?
Because the allocate throwing exception, the response object is empty
bq. Is the change in ResourceCalculator.java related?
It's causing excessive loggings in production cluster, I intentionally  removed 
them.

> Replace AM resync/shutdown command with corresponding exceptions
> ----------------------------------------------------------------
>
>                 Key: YARN-2209
>                 URL: https://issues.apache.org/jira/browse/YARN-2209
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-2209.1.patch, YARN-2209.2.patch, YARN-2209.3.patch, 
> YARN-2209.4.patch, YARN-2209.5.patch, YARN-2209.6.patch, YARN-2209.6.patch
>
>
> YARN-1365 introduced an ApplicationMasterNotRegisteredException to indicate 
> application to re-register on RM restart. we should do the same for 
> AMS#allocate call also.



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

Reply via email to