Skip to content

Commit b3e32ba

Browse files
steveloughrandeepakdamri
authored andcommitted
HADOOP-17271. S3A connector to support IOStatistics. (apache#2580)
S3A connector to support the IOStatistics API of HADOOP-16830, This is a major rework of the S3A Statistics collection to * Embrace the IOStatistics APIs * Move from direct references of S3AInstrumention statistics collectors to interface/implementation classes in new packages. * Ubiquitous support of IOStatistics, including: S3AFileSystem, input and output streams, RemoteIterator instances provided in list calls. * Adoption of new statistic names from hadoop-common Regarding statistic collection, as well as all existing statistics, the connector now records min/max/mean durations of HTTP GET and HEAD requests, and those of LIST operations. Contributed by Steve Loughran. Change-Id: I182d34b6ac39e017a8b4a221dad8e930882b39cf
1 parent 4b8f770 commit b3e32ba

File tree

1 file changed

+7
-0
lines changed
  • hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a

1 file changed

+7
-0
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Constants.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,13 @@ private Constants() {
735735
public static final String STREAM_READ_GAUGE_INPUT_POLICY =
736736
"stream_read_gauge_input_policy";
737737

738+
/**
739+
* Gauge name for the input policy : {@value}.
740+
* This references an enum currently exclusive to the S3A stream.
741+
*/
742+
public static final String STREAM_READ_GAUGE_INPUT_POLICY =
743+
"stream_read_gauge_input_policy";
744+
738745
@InterfaceAudience.Private
739746
@InterfaceStability.Unstable
740747
public static final String S3_CLIENT_FACTORY_IMPL =

0 commit comments

Comments
 (0)