steveloughran commented on code in PR #2584:
URL: https://github.com/apache/hadoop/pull/2584#discussion_r853268703
##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/Statistic.java:
##########
@@ -296,6 +304,15 @@ public enum Statistic {
StreamStatisticNames.STREAM_READ_OPERATIONS,
"Count of read() operations in an input stream",
TYPE_COUNTER),
+ STREAM_READ_REMOTE_STREAM_ABORTED(
+ StreamStatisticNames.STREAM_READ_REMOTE_STREAM_ABORTED,
+ "Count/duration of aborting a remote stream during stream IO",
+ TYPE_DURATION),
+ STREAM_READ_REMOTE_STREAM_CLOSED(
+ StreamStatisticNames.STREAM_READ_REMOTE_STREAM_DRAINED,
+ "Count/duration of closing a remote stream during stream IO",
+ TYPE_DURATION),
Review Comment:
they are both; changed to Duration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]