hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Da Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15940) ABFS: For HNS account, avoid unnecessary get call when doing Rename
Date Fri, 16 Nov 2018 21:17:00 GMT

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

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

Handle three corner cases in driver:
 1. rename a file to itself, should return true
 2. rename a dir to itself, should return true.
 3. move file/dir to same parent folder, return true.
For case 1,2, only a GetFileStatus request is needed to determine the return result.
For case 3, no request is needed.

*All tests passed:*
XNS account: sharedKey
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 22
Tests run: 165, Failures: 0, Errors: 0, Skipped: 15

*XNS account: OAUTH*
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 23
Tests run: 165, Failures: 0, Errors: 0, Skipped: 21

*non-XNS account: SharedKey´╝Ü*
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 197
Tests run: 165, Failures: 0, Errors: 0, Skipped: 15

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message