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 2013/09/24 02:15:03 UTC
[jira] [Commented] (HDFS-5222) Move block schedule information from
DatanodeDescriptor to DatanodeStorageInfo
[ https://issues.apache.org/jira/browse/HDFS-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775837#comment-13775837 ]
Arpit Agarwal commented on HDFS-5222:
-------------------------------------
Hi Nicholas, couple of spurious newlines. +1 otherwise. Please feel free to commit after removing these.
{code}
private State state;
+
private long capacity;
private long dfsUsed;
private long remaining;
+
private volatile BlockInfo blockList = null;
{code}
> Move block schedule information from DatanodeDescriptor to DatanodeStorageInfo
> ------------------------------------------------------------------------------
>
> Key: HDFS-5222
> URL: https://issues.apache.org/jira/browse/HDFS-5222
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h5222_20130819.patch
>
>
> In HDFS-4990, the block placement target type was changed from DatanodeDescriptor to DatanodeStorageInfo. The block schedule information, such as the number of blocks scheduled for replication (i.e. getBlocksScheduled()), should be moved from DatanodeDescriptor to DatanodeStorageInfo.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira