hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jinjiang Ling (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7820) Fix the currentAppAttemptId error in AHS when an application is running
Date Fri, 26 Jan 2018 07:00:04 GMT
Jinjiang Ling created YARN-7820:
-----------------------------------

             Summary: 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
         Attachments: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message