[ https://issues.apache.org/jira/browse/YARN-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832128#comment-13832128 ]
Jian He commented on YARN-1239: ------------------------------- Summarize the changes: - Versioning scheme: major.minor. For e.g. 1.0, 1.1, 1.2...1.25, 2.0 etc. - Any incompatible change of state-store is a major upgrade, and any compatible change of state-store is a minor upgrade. - If theres's no version, treat it as 1.0. - Within a minor upgrade, say 1.1 to 1.2: overwrite the version info and proceed as normal. - Within a major upgrade, say 1.2 to 2.0: throw exception and indicate user to use a separate upgrade tool to upgrade RM state. - the version node still coexists with RMAppRoot as a separate node under StateStoreRoot > Save version information in the state store > ------------------------------------------- > > Key: YARN-1239 > URL: https://issues.apache.org/jira/browse/YARN-1239 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Bikas Saha > Assignee: Jian He > Attachments: YARN-1239.1.patch, YARN-1239.2.patch, YARN-1239.3.patch, > YARN-1239.4.patch, YARN-1239.4.patch, YARN-1239.5.patch, YARN-1239.6.patch, > YARN-1239.patch > > > When creating root dir for the first time we should write version 1. If root > dir exists then we should check that the version in the state store matches > the version from config. -- This message was sent by Atlassian JIRA (v6.1#6144)