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

Xuan Gong commented on YARN-808:
--------------------------------

How about we expose the current attempt Id with attempt status as well as 
previous attempt Id with attempt status if they are exist ??
                
> ApplicationReport does not clearly tell that the attempt is running or not
> --------------------------------------------------------------------------
>
>                 Key: YARN-808
>                 URL: https://issues.apache.org/jira/browse/YARN-808
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Bikas Saha
>            Assignee: Xuan Gong
>
> When an app attempt fails and is being retried, ApplicationReport immediately 
> gives the new attemptId and non-null values of host etc. There is no way for 
> clients to know that the attempt is running other than connecting to it and 
> timing out on invalid host. Solution would be to expose the attempt state or 
> return a null value for host instead of "N/A"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to