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

Tsuyoshi OZAWA updated YARN-2404:
---------------------------------
    Attachment: YARN-2404.5.patch

Refreshed a patch.

I found that TestRMRestart#testAppRecoveredInOrderOnRMRestart fails after the 
refactoring since recoverApplication loads data from 
RMStateStore#RMState#appState, which is created as a instance of HashMap. We 
should make it TreeMap to preserve the restoring order by key, so I fixed it in 
this patch.

[~jianhe], could you take a look?

> Remove ApplicationAttemptState and ApplicationState class in RMStateStore 
> class 
> --------------------------------------------------------------------------------
>
>                 Key: YARN-2404
>                 URL: https://issues.apache.org/jira/browse/YARN-2404
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Tsuyoshi OZAWA
>         Attachments: YARN-2404.1.patch, YARN-2404.2.patch, YARN-2404.3.patch, 
> YARN-2404.4.patch, YARN-2404.5.patch
>
>
> We can remove ApplicationState and ApplicationAttemptState class in 
> RMStateStore, given that we already have ApplicationStateData and 
> ApplicationAttemptStateData records. we may just replace ApplicationState 
> with ApplicationStateData, similarly for ApplicationAttemptState.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to