Gergo Repas commented on YARN-5028:

[~yufeigu] Yes, sure - I started out with an empty submission context, but the 
recovery failed at certain points (when running on a real cluster). From the 
stack traces it was pretty clear which field was missing for the recovery, and 
added those to the context until recovery succeeded without any issue - this 
covers the first four fields of the quoted section. The last two fields were 
needed for all unit tests to pass.

Please let me know if you need the exact stack traces where these fields are 
needed, it takes some time to produce those so I'll wait for your reply.

> RMStateStore should trim down app state for completed applications
> ------------------------------------------------------------------
>                 Key: YARN-5028
>                 URL: https://issues.apache.org/jira/browse/YARN-5028
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.8.0
>            Reporter: Karthik Kambatla
>            Assignee: Gergo Repas
>            Priority: Major
>         Attachments: YARN-5028.000.patch, YARN-5028.001.patch, 
> YARN-5028.002.patch
> RMStateStore stores enough information to recover applications in case of a 
> restart. The store also retains this information for completed applications 
> to serve their status to REST, WebUI, Java and CLI clients. We don't need all 
> the information we store today to serve application status; for instance, we 
> don't need the {{ApplicationSubmissionContext}}. 

This message was sent by Atlassian JIRA

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