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

S3A statistic collection underrecords bytes written in helper threads

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Done
    • 3.1.2
    • 3.3.1
    • fs/s3
    • None

    Description

      Applications collecting per-thread statistics from S3A get underreporting of bytes written, as all byte written in the worker call update those in a different thread.

      Proposed:

      • the bytes upload statistics are uploaded in the primary thread as a block is queued for write, not after in the completion phase in the other thread
      • final WriteOperationsHelper.writeSuccessful() takes the final statistics for its own entertainment

      Really I want context-specific storage statistics.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: