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] [Commented] (HDFS-4152) Add a new class for the parameter in INode.collectSubtreeBlocksAndClear(..)
Date Tue, 06 Nov 2012 18:58:12 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-4152:
----------------------------------------------

Aaron, won't you agree that it is a better programming style?
                
> Add a new class for the parameter in INode.collectSubtreeBlocksAndClear(..)
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-4152
>                 URL: https://issues.apache.org/jira/browse/HDFS-4152
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 3.0.0
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Jing Zhao
>            Priority: Minor
>         Attachments: HDFS-4152.001.patch
>
>
> INode.collectSubtreeBlocksAndClear(..) currently uses a list to collect blocks for deletion.
 It cannot be extended to support other operation like updating the block-map.  We propose
to add a new class to encapsulate the abstraction. 

--
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

Mime
View raw message