[
https://issues.apache.org/jira/browse/GOBBLIN-860?focusedWorklogId=297418&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-297418
]
ASF GitHub Bot logged work on GOBBLIN-860:
------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Aug/19 21:05
Start Date: 19/Aug/19 21:05
Worklog Time Spent: 10m
Work Description: jack-moseley 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_r315411302
##########
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:
Good point, moved it there
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 297418)
Time Spent: 1h 20m (was: 1h 10m)
> 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 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)