[ 
https://issues.apache.org/jira/browse/HDFS-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-4177:
-----------------------------------------

    Attachment: h4177_20121112b.patch

h4177_20121112b.patch: updates the javadoc for getChildrenList(Snapshot), 
getLatestSnapshot() and getPathSnapshot(); and fixes the long line.

The reason of adding ReadOnlyList is that we are going to use diffs to maintain 
snapshots, therefore, actual snapshot children lists are not available at 
runtime.  With ReadOnlyList, we could use diffs and the current children list 
to provide a logical children list view.  I am going to implement it in the 
next patch.

Since the current patch only adds the ReadOnlyList interface with trivial 
java.util.List impelementaton.  Let's add tests on the next patch.  Sound good?
                
> 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
>         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