hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6076) SimulatedDataSet should not create DatanodeRegistration with namenode layout version and type
Date Tue, 11 Mar 2014 00:25:43 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsz Wo Nicholas Sze updated HDFS-6076:
--------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   2.4.0

Merged this to branch-2.4.

> SimulatedDataSet should not create DatanodeRegistration with namenode layout version
and type
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6076
>                 URL: https://issues.apache.org/jira/browse/HDFS-6076
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode, test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Minor
>             Fix For: 2.4.0
>
>         Attachments: h6076_20140307.patch
>
>
> In DataNode.createBPRegistration(..), it creates storageInfo with nsInfo for the case
of SimulatedDataSet.  Then, the layout version and the node type will be respectively set
to namenode's layout version and NodeType.NAME_NODE.
> {code}
> //DataNode.createBPRegistration(..)
>     if (storageInfo == null) {
>       // it's null in the case of SimulatedDataSet
>       storageInfo = new StorageInfo(nsInfo);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message