You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Arpit Agarwal (JIRA)" <ji...@apache.org> on 2014/08/07 09:21:12 UTC
[jira] [Commented] (HDFS-6812) Remove addBlock and replaceBlock
from DatanodeDescriptor
[ https://issues.apache.org/jira/browse/HDFS-6812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088936#comment-14088936 ]
Arpit Agarwal commented on HDFS-6812:
-------------------------------------
Nice little simplification. I think we can also fix findDatanode to return boolean, but let me take care of that under HDFS-6830.
+1
> Remove addBlock and replaceBlock from DatanodeDescriptor
> --------------------------------------------------------
>
> Key: HDFS-6812
> URL: https://issues.apache.org/jira/browse/HDFS-6812
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h6812_20140803.patch
>
>
> DatanodeDescriptor.addBlock(..) is not used anymore. DatanodeDescriptor.replaceBlock(..) is only used once.
--
This message was sent by Atlassian JIRA
(v6.2#6252)