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

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

ImmutableList is an implementation of lists but what we need here is a 
lightweight interface so that implements it without actually creating a list.  
java.util.List is a good candidate except that there are too many methods 
(>20).  We only need a lightweight interface with a few methods.
                
> Add a snapshot parameter to INodeDirectory.getChildrenList()
> ------------------------------------------------------------
>
>                 Key: HDFS-4177
>                 URL: https://issues.apache.org/jira/browse/HDFS-4177
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: Snapshot (HDFS-2802)
>
>         Attachments: h4177_20121112b.patch, h4177_20121112.patch
>
>
> With the snapshot features, the children list of directories can be different 
> in snapshots and the current view.  The snapshot information is required to 
> select the children list.

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

Reply via email to