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

Kihwal Lee commented on HDFS-10762:
-----------------------------------

Nice change. I am convinced that there will be no case where 
{{createFileStatus()}} is called with a different snapshot ID than what is for 
the path.  Carrying snapshot ID and raw path check in IIP makes sense.
+1

> Pass IIP for file status related methods
> ----------------------------------------
>
>                 Key: HDFS-10762
>                 URL: https://issues.apache.org/jira/browse/HDFS-10762
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10762.patch
>
>
> The frequently called file status methods will not require path re-resolves 
> if the IIP is passed down the call stack.  The code can be simplified further 
> if the IIP tracks if the original path was a reserved raw path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to