hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2559) Clean up Storage/StorageInfo classes after federation
Date Thu, 17 Nov 2011 02:47:51 GMT
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

        

Mime
View raw message