amrishlal commented on code in PR #8759:
URL: https://github.com/apache/hudi/pull/8759#discussion_r1202747051
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/compact/RunCompactionActionExecutor.java:
##########
@@ -65,10 +73,14 @@ public RunCompactionActionExecutor(HoodieEngineContext
context,
this.operationType = operationType;
checkArgument(operationType == WriteOperationType.COMPACT || operationType
== WriteOperationType.LOG_COMPACT,
"Only COMPACT and LOG_COMPACT is supported");
+ metrics = new HoodieMetrics(config);
}
@Override
public HoodieWriteMetadata<HoodieData<WriteStatus>> execute() {
+ LOG.info("Compaction start.");
Review Comment:
@nsivabalan I added this based on our last discussion. It should help to get
an idea of individual start / stop compaction events.
--
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]