hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6076) SimulatedDataSet should not create DatanodeRegistration with namenode layout version and type
Date Sat, 08 Mar 2014 14:54:53 GMT

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

Hudson commented on HDFS-6076:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1720 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1720/])
HDFS-6076. DataNode with SimulatedDataSet should not create DatanodeRegistration with namenode
layout version and namenode node type. (szetszwo: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1575452)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java


> 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: 3.0.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