hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2559) Clean up Storage/StorageInfo classes after federation
Date Fri, 18 Nov 2011 09:09:51 GMT

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

Aaron T. Myers commented on HDFS-2559:
--------------------------------------

+1, the patch looks good to me.
                
> 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
>         Attachments: hdfs-2559.txt
>
>
> 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