[ https://issues.apache.org/jira/browse/GOBBLIN-860?focusedWorklogId=297397&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-297397 ]
ASF GitHub Bot logged work on GOBBLIN-860: ------------------------------------------ Author: ASF GitHub Bot Created on: 19/Aug/19 20:27 Start Date: 19/Aug/19 20:27 Worklog Time Spent: 10m Work Description: arjun4084346 commented on pull request #2715: [GOBBLIN-860] Process flow-level events for setting/retrieving flow status URL: https://github.com/apache/incubator-gobblin/pull/2715#discussion_r315396459 ########## File path: gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java ########## @@ -618,6 +618,10 @@ private JobStatus pollJobStatus(DagNode<JobExecutionPlan> dagNode) { synchronized Map<String, Set<DagNode<JobExecutionPlan>>> submitNext(String dagId) throws IOException { Dag<JobExecutionPlan> dag = this.dags.get(dagId); Set<DagNode<JobExecutionPlan>> nextNodes = DagManagerUtils.getNext(dag); + + // Set flow status to running if it isn't already + DagManagerUtils.emitFlowEvent(this.eventSubmitter, dag, TimingEvent.FlowTimings.FLOW_RUNNING); Review comment: initialize(Dag) should be a better place to emit this event? ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 297397) Time Spent: 1h 10m (was: 1h) > Process flow-level events for setting/retrieving flow status > ------------------------------------------------------------ > > Key: GOBBLIN-860 > URL: https://issues.apache.org/jira/browse/GOBBLIN-860 > Project: Apache Gobblin > Issue Type: Bug > Reporter: Jack Moseley > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.2#803003)