You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2019/02/21 19:52:00 UTC

[jira] [Created] (HADOOP-16133) S3A statistic collection underrecords bytes written in helper threads

Steve Loughran created HADOOP-16133:
---------------------------------------

             Summary: S3A statistic collection underrecords bytes written in helper threads
                 Key: HADOOP-16133
                 URL: https://issues.apache.org/jira/browse/HADOOP-16133
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.1.2
            Reporter: Steve Loughran


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.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org