arjun4084346 commented on a change in pull request #2597: [GOBBLIN-730] added
job start and end time in flow status retriever
URL: https://github.com/apache/incubator-gobblin/pull/2597#discussion_r275168198
##########
File path:
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/KafkaJobStatusMonitor.java
##########
@@ -140,7 +143,27 @@ private void
addJobStatusToStateStore(org.apache.gobblin.configuration.State job
String jobGroup =
jobStatus.getProp(TimingEvent.FlowEventConstants.JOB_GROUP_FIELD);
String storeName = jobStatusStoreName(flowGroup, flowName);
String tableName = jobStatusTableName(flowExecutionId, jobGroup, jobName);
- this.stateStore.put(storeName, tableName, jobStatus);
+
+ jobStatus = mergedProperties(storeName, tableName, jobStatus, stateStore);
+
+ stateStore.put(storeName, tableName, jobStatus);
+ }
+
+ private static org.apache.gobblin.configuration.State mergedProperties(
Review comment:
being called from a test class
----------------------------------------------------------------
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