krishh85 commented on a change in pull request #2706: Emit WorkUnitsCreated
Count Event for MR deployed jobs.
URL: https://github.com/apache/incubator-gobblin/pull/2706#discussion_r322511263
##########
File path:
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/mapreduce/MRJobLauncher.java
##########
@@ -262,6 +265,10 @@ protected void runWorkUnits(List<WorkUnit> workUnits)
throws Exception {
JobState jobState = this.jobContext.getJobState();
try {
+ CountEventBuilder countEventBuilder = new
CountEventBuilder(JobEvent.WORK_UNITS_CREATED, workUnits.size());
Review comment:
We are workUnitsCreatedTimer emitting events as well. That has not changed
for local job launcher.
----------------------------------------------------------------
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]
With regards,
Apache Git Services