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

Da Zhou commented on HADOOP-15940:
----------------------------------

Sorry I made a mistake in my previous comment, I highlighted the corrected one:
 1. rename a file to itself, should return true
 2. rename a dir to itself, should return *false*. (According to the [Contract 
test,|https://github.com/apache/hadoop/blob/a55d6bba71c81c1c4e9d8cd11f55c78f10a548b0/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/FileSystemContractBaseTest.java#L765]
 this should return false)
 3. move file/dir to same parent folder, return true.

> ABFS: For HNS account, avoid unnecessary get call when doing Rename
> -------------------------------------------------------------------
>
>                 Key: HADOOP-15940
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15940
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: Da Zhou
>            Assignee: Da Zhou
>            Priority: Major
>         Attachments: HADOOP-15940-001.patch
>
>
> When rename, there is always a GET dst file status call, this is not 
> necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to