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

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.3.0
    • None
    • fs/s3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: