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

Daryn Sharp updated HDFS-10779:
-------------------------------
    Status: Patch Available  (was: Open)

> Rename does not need to re-solve destination
> --------------------------------------------
>
>                 Key: HDFS-10779
>                 URL: https://issues.apache.org/jira/browse/HDFS-10779
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10779.patch
>
>
> Rename uses {{FSDirectory.isDir(String)}} to determine if the destination is 
> a directory.  This dissect the path, creates an IIP, checks if the last inode 
> is a directory.  The rename operations already have the IIP and can check it 
> directly.



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