Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13204 Über-jira: S3a phase III: scale and tuning
  3. HADOOP-13950

S3A create(path, overwrite=true) need only check for path being a dir, not a file

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.7.3
    • None
    • fs/s3
    • None

    Description

      When you create a file with overwrite=true, you don't care that a path resolves to a file, only that there isn't a directory at the destination.

      S3A can use this, bypass the GET path and only do a GET path + "/" and LIST path. That way: one HTTPS request saved, and no negative caching of the path to confuse followup checks.

      That is: better performance and consistency

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: