[ 
https://issues.apache.org/jira/browse/YARN-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847883#comment-15847883
 ] 

Jonathan Hung commented on YARN-5946:
-------------------------------------

Attached 002 patch. {{initialize}}, {{retrieve}}, and {{store}} are for 
retrieving/storing the configuration. {{readPersistedId}}, {{getMutations}}, 
and {{logMutations}} are for write ahead logging which implementations should 
support. This delegates the recovery part of write ahead logging to the calling 
class, in this case {{MutableConfigurationManager}}. This is necessary because 
the store does not know whether a logged configuration change is valid or not. 
If the calling class determines the logged mutations are valid, it can 
{{store}} them.

> Create YarnConfigurationStore class
> -----------------------------------
>
>                 Key: YARN-5946
>                 URL: https://issues.apache.org/jira/browse/YARN-5946
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>         Attachments: YARN-5946.001.patch, YARN-5946-YARN-5734.002.patch
>
>
> This class provides the interface to persist YARN configurations in a backing 
> store.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
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