[
https://issues.apache.org/jira/browse/BEAM-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía reassigned BEAM-2847:
----------------------------------
Assignee: (was: Amit Sela)
> Stop streaming pipeline when global watermark reaches +INF
> -----------------------------------------------------------
>
> Key: BEAM-2847
> URL: https://issues.apache.org/jira/browse/BEAM-2847
> Project: Beam
> Issue Type: Improvement
> Components: runner-spark
> Reporter: Aviem Zur
> Priority: Major
>
> Stop streaming pipeline when global watermark reaches +INF as suggested in
> BEAM-849 comments.
> We can do this similarly to the solution in
> [TestSparkRunner#awaitWatermarksOrTimeout|https://github.com/apache/beam/blob/v2.1.0/runners/spark/src/main/java/org/apache/beam/runners/spark/TestSparkRunner.java#L158-L179]
> by polling {code}
> SparkTimerInternals.global(GlobalWatermarkHolder.get(...))
> {code}
> We can also remove this code from {{TestSparkRunner}} if we make sure all
> sources in test behave in a way which shifts the watermark to +INF at the end
> of the test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)