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

Daryn Sharp commented on HDFS-5875:
-----------------------------------

Lest you ponder: "for a compatible change, why did he touch so many test 
cases?".  Answer: many of the existing test cases for IIP have their 
expected/actual arguments flipped.  This made debugging very frustrating so I 
corrected most of them, otherwise the only real test change is directly 
exercising the iterator.

> Add iterator support to INodesInPath
> ------------------------------------
>
>                 Key: HDFS-5875
>                 URL: https://issues.apache.org/jira/browse/HDFS-5875
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-5875.patch
>
>
> "Resolve as you go" inode iteration will help with the implementation of 
> alternative locking schemes.  It will also be the pre-cursor for resolving 
> paths once and only once per operation, as opposed to ~3 times/call.
> This is an incremental and compatible change for IIP that does not break 
> existing callers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to