[ 
https://issues.apache.org/jira/browse/YARN-7820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jinjiang Ling updated YARN-7820:
--------------------------------
    Attachment: YARN-7820.003.patch

> Fix the currentAppAttemptId error in AHS when an application is running
> -----------------------------------------------------------------------
>
>                 Key: YARN-7820
>                 URL: https://issues.apache.org/jira/browse/YARN-7820
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>            Reporter: Jinjiang Ling
>            Assignee: Jinjiang Ling
>            Priority: Major
>         Attachments: YARN-7820.001.patch, YARN-7820.003.patch, 
> YARN-7820.003.patch, YARN-7820.003.patch, image-2018-01-26-14-35-09-796.png
>
>
> When I using the REST API of the AHS to get a running app's latest attempt 
> id, it always returns a invalid id like 
> *appattempt_1516873125047_0013_{color:#FF0000}-000001{color}*. 
> But when the app is finished, the RM will push a finished event which 
> contains the latest attempt id to TimelineServer, so the id will transitive 
> to a correct one in the end of the application. 
> I think as the app is running, this value should be a correct one, so I add 
> the latest attempt id in the other info of the app's entity when the app 
> trans to RUNNING state. Then the AHS will use this value to set the 
> currentAppAttemptId.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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