Zhijie Shen updated YARN-2837:
    Attachment: YARN-2837.5.patch

Do two more things in the new patch:

1. Correct the logic of storing version by differentiating the cases of create 
a new state store and the existing state store. It seems that 
LeveldbTimelineStore needs to be fixed too. Let's treat it as a separate issue.

2. Like RMDelegationTokenIdentifierData, create a 
TimelineDelegationTokenIndentifierData to wrap all fields to be serialized into 
leveldb for better compatibility if we add more fields in the future.

> Timeline server needs to recover the timeline DT when restarting
> ----------------------------------------------------------------
>                 Key: YARN-2837
>                 URL: https://issues.apache.org/jira/browse/YARN-2837
>             Project: Hadoop YARN
>          Issue Type: New Feature
>          Components: timelineserver
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>            Priority: Blocker
>             Fix For: 2.7.0
>         Attachments: YARN-2837.1.patch, YARN-2837.2.patch, YARN-2837.3.patch, 
> YARN-2837.4.patch, YARN-2837.5.patch
> Timeline server needs to recover the stateful information when restarting as 
> RM/NM/JHS does now. So far the stateful information only includes the 
> timeline DT. Without recovery, the timeline DT of the existing YARN apps is 
> not long valid, and cannot be renewed any more after the timeline server is 
> restarted.

This message was sent by Atlassian JIRA

Reply via email to