Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.0
Description
Applications like to collect the statistics which specific operations take, by collecting exactly those operations done during the execution of FS API calls by their individual worker threads, and returning these to their job driver
- S3A has a statistics API for some streams, but it's a non-standard one; Impala &c can't use it
- FileSystem storage statistics are public, but as they aren't cross-thread, they don't aggregate properly
Proposed
- A new IOStatistics interface to serve up statistics
- S3A to implement
- other stores to follow
- Pass-through from the usual wrapper classes (FS data input/output streams)
It's hard to think about how best to offer an API for operation context stats, and how to actually implement.
ThreadLocal isn't enough because the helper threads need to update on the thread local value of the instigator
My Initial PoC doesn't address that issue, but it shows what I'm thinking of
Attachments
Issue Links
- blocks
-
HADOOP-13551 Collect AwsSdkMetrics in S3A FileSystem IOStatistics
- Resolved
-
IMPALA-8544 Expose additional S3A / S3Guard metrics
- Open
- is a parent of
-
MAPREDUCE-7315 LocatedFileStatusFetcher to collect/publish IOStatistics
- Resolved
- is related to
-
HADOOP-17281 Implement FileSystem.listStatusIterator() in S3AFileSystem
- Resolved
- is superceded by
-
HADOOP-17469 IOStatistics Phase II
- Open
- links to