damccorm opened a new issue, #19919:
URL: https://github.com/apache/beam/issues/19919

   Over at BEAM-8539 we're trying to iron out the definitions of the job state 
enums.  One thing that is clear is that STOPPED is not supposed to be a 
terminal state, though since it was poorly documented it slipped in a few 
places.
   
   There are two places in the `SparkPipelineResult` where STOPPED seems to be 
used as a terminal event.   These should either be DONE, FAILED, or CANCELLED.
   
   Here's one example:
   
   
[https://github.com/apache/beam/blob/master/runners/spark/src/main/java/org/apache/beam/runners/spark/SparkPipelineResult.java#L133](https://github.com/apache/beam/blob/master/runners/spark/src/main/java/org/apache/beam/runners/spark/SparkPipelineResult.java#L133)
   
    
   
    
   
   Imported from Jira 
[BEAM-8552](https://issues.apache.org/jira/browse/BEAM-8552). Original Jira may 
contain additional context.
   Reported by: chadrik.


-- 
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]

Reply via email to