Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15220 Über-jira: S3a phase V: Hadoop 3.2 features
  3. HADOOP-13853

S3ADataBlocks.DiskBlock to lazy create dest file for faster 0-byte puts

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.8.0
    • None
    • fs/s3
    • None

    Description

      Looking at traces of work, there's invariably a PUT of a _SUCCESS at the end, which, with disk output, adds the overhead of creating, writing to and then reading a 0 byte file.

      With a lazy create, the creation could be postponed until the first write, with special handling in the startUpload() operation to return a null stream, rather than reopen the file. Saves on some disk IO: create, read, delete

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment