Steve Loughran created HADOOP-16493:
---------------------------------------

             Summary: S3AFilesystem.initiateRename() can skip check on 
dest.parent status if src has same parent
                 Key: HADOOP-16493
                 URL: https://issues.apache.org/jira/browse/HADOOP-16493
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.3.0
            Reporter: Steve Loughran


Speedup inferred from debug logs (probably not a regression from HADOOP-15183, 
more something we'd not noticed).

There's a check in {{initiateRename()}} to make sure the parent dir of the dest 
exists. 
If dest.getParent() is  src.getParent() (i.e. a same dire rename) or is any 
other ancestor, we don't need those HEAD/LIST requests. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to