You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tanping Wang (JIRA)" <ji...@apache.org> on 2011/02/28 22:42:37 UTC
[jira] Created: (HDFS-1674) HDFS Federation: Rename BlockPool class
to BlockPoolSlice
HDFS Federation: Rename BlockPool class to BlockPoolSlice
----------------------------------------------------------
Key: HDFS-1674
URL: https://issues.apache.org/jira/browse/HDFS-1674
Project: Hadoop HDFS
Issue Type: Sub-task
Components: data-node
Affects Versions: Federation Branch
Reporter: Tanping Wang
Assignee: Tanping Wang
Priority: Minor
Fix For: Federation Branch
HDFS Federation (porting):
The class BlockPool is poorly named as it does not represent an actual BlockPool, but rather that slice of the overall BlockPool for which a single DataNode is responsible. Renames BlockPool, BlockPoolStorage, BlockPoolScanner to BlockPoolSlice*. Moves BlockPookSlice out of FSDataSet to a stand-alone class. Updates references to these structures. Other references to BlockPools seem appropriate in the context of the code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HDFS-1674) HDFS Federation: Rename BlockPool
class to BlockPoolSlice
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-1674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas resolved HDFS-1674.
-----------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
I committed the patch. Thank you Jakob and Tanping.
> HDFS Federation: Rename BlockPool class to BlockPoolSlice
> ----------------------------------------------------------
>
> Key: HDFS-1674
> URL: https://issues.apache.org/jira/browse/HDFS-1674
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Affects Versions: Federation Branch
> Reporter: Tanping Wang
> Assignee: Tanping Wang
> Priority: Minor
> Fix For: Federation Branch
>
> Attachments: HDFS-1674.patch
>
>
> HDFS Federation (porting):
> The class BlockPool is poorly named as it does not represent an actual BlockPool, but rather that slice of the overall BlockPool for which a single DataNode is responsible. Renames BlockPool, BlockPoolStorage, BlockPoolScanner to BlockPoolSlice*. Moves BlockPookSlice out of FSDataSet to a stand-alone class. Updates references to these structures. Other references to BlockPools seem appropriate in the context of the code.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira