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] [Created] (HDFS-6076) SimulatedDataSet should not create DatanodeRegistration with namenode layout version and type
Date Fri, 07 Mar 2014 20:22:43 GMT
Tsz Wo Nicholas Sze created HDFS-6076:
-----------------------------------------

             Summary: 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
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze
            Priority: Minor


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