n3nash commented on a change in pull request #2607:
URL: https://github.com/apache/hudi/pull/2607#discussion_r601926515



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java
##########
@@ -336,8 +340,12 @@ public void write(GenericRecord oldRecord) {
       }
 
       long fileSizeInBytes = FSUtils.getFileSize(fs, newFilePath);
-      HoodieWriteStat stat = writeStatus.getStat();
 
+      // record write metrics
+      executorMetrics.recordWriteMetrics(getIOType(), 
InetAddress.getLocalHost().getHostName(),

Review comment:
       private Map<String, List<Tuple>> {
   list.add("io_type", getIOType());
   ..
   ..
   return new Map(CONSTANTS.WRITE_METRICS, list)
   }




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to