hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1239) Save version information in the state store
Date Wed, 20 Nov 2013 22:41:36 GMT

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

Jian He commented on YARN-1239:

Discussed with Vinod offline, in the scope of this jira, we can just check whether this is
a compatible state. If it is compatible, RM can load it  and proceed as normal.
In case of incompatible, throw exception and indicate user to upgrade the state with a separate
tool to do things like rearranging the directory structure or renaming the fields back, etc.
For that, each incompatible implementation needs to write their own version parser for parsing
and loading the data.

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

View raw message