Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16829 Über-jira: S3A Hadoop 3.4 features
  3. HADOOP-16493

S3AFilesystem.initiateRename() can skip check on dest.parent status if src has same parent

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: