Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-16493

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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • 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

          Activity

            People

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

              Dates

              • Created:
                Updated: