[
https://issues.apache.org/jira/browse/YARN-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jian He updated YARN-891:
-------------------------
Attachment: YARN-891.patch
upload a patch, details
- Add a new field finalState in ApplicationState and ApplicationAttemptState in
RMStateStore.
- All app transitions go through RMAppFinalStateSavingTransition waiting for
final state to be stored and then do corresponding final state transition in
RMAppFinalStateSavedTransition
- Similarly, All atttempt transitions go through
AttemptFinalStateSavingTransition waiting for final attempt state to be stored
and then go through AttemptFinalStateSavedTransition
- Changed the recovery logic to not start terminated apps/attempts and populate
the final state.
- corresponding PB changes.
- TestRMAppTransitions / TestRMAppAttemptTransitions test the tranistion logic.
- TestRMRestart#testRMRestart test the saving and loading of finished apps in
RM restart logic.
- Tested on single node cluster with HDFS store.
To do:
- state store clean up thread.
- test with zk store.
> Store completed application information in RM state store
> ---------------------------------------------------------
>
> Key: YARN-891
> URL: https://issues.apache.org/jira/browse/YARN-891
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Bikas Saha
> Assignee: Jian He
> Attachments: YARN-891.patch, YARN-891.patch
>
>
> Add information like exit status etc for the completed attempt.
--
This message was sent by Atlassian JIRA
(v6.1#6144)