You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2011/11/17 03:47:51 UTC

[jira] [Created] (HDFS-2559) Clean up Storage/StorageInfo classes after federation

Clean up Storage/StorageInfo classes after federation
-----------------------------------------------------

                 Key: HDFS-2559
                 URL: https://issues.apache.org/jira/browse/HDFS-2559
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: data-node
    Affects Versions: 0.23.1
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


After federation, there are many different identifiers floating around in a cluster: cluster ID, namespace ID, block pool ID, plus the versioning identifiers cTime and layoutVersion. Some of these are cluster-wide, whereas others may be different within a DN as it talks to different NNs (see the federation design doc for more info). However, the current class heirarchy in trunk has DataStorage (the DN-wide storage class) inherit from Storage which inherits from StorageInfo, which contains a namespaceID. Thus, DataStorage has this unused member which confuses things.

This JIRA is to split up StorageInfo into separate classes/interfaces so that only the necessary identifiers are used by each piece of the DN.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira