You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2019/08/06 16:51:00 UTC
[jira] [Created] (HADOOP-16493) S3AFilesystem.initiateRename() can
skip check on dest.parent status if src has same parent
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org