abstractdog commented on code in PR #379:
URL: https://github.com/apache/tez/pull/379#discussion_r1855300712


##########
tez-api/src/main/java/org/apache/tez/common/counters/FileSystemCounter.java:
##########
@@ -19,16 +19,42 @@
 package org.apache.tez.common.counters;
 
 import org.apache.hadoop.classification.InterfaceAudience.Private;
+import org.apache.hadoop.fs.StorageStatistics.CommonStatisticNames;
 
 @Private
 public enum FileSystemCounter {
-  BYTES_READ,
-  BYTES_WRITTEN,
-  READ_OPS,
-  LARGE_READ_OPS,
-  WRITE_OPS,
-  HDFS_BYTES_READ,
-  HDFS_BYTES_WRITTEN,
-  FILE_BYTES_READ,
-  FILE_BYTES_WRITTEN
+  BYTES_READ("bytesRead"),
+  BYTES_WRITTEN("bytesWritten"),
+  READ_OPS("readOps"),
+  LARGE_READ_OPS("largeReadOps"),
+  WRITE_OPS("writeOps"),
+  HDFS_BYTES_READ("hdfsBytesRead"),
+  HDFS_BYTES_WRITTEN("hdfsBytesWritten"),
+  FILE_BYTES_READ("fileBytesRead"),
+  FILE_BYTES_WRITTEN("fileBytesWritten"),
+
+  // Additional counters from HADOOP-13305

Review Comment:
   yeah, I'm refreshing it according to the current state of 
CommonStatisticNames



-- 
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]

Reply via email to