[ 
https://issues.apache.org/jira/browse/BEAM-3905?focusedWorklogId=110055&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-110055
 ]

ASF GitHub Bot logged work on BEAM-3905:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Jun/18 10:03
            Start Date: 08/Jun/18 10:03
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on a change in pull request #5578: 
[BEAM-3905] Update Flink Runner to Flink 1.5.0
URL: https://github.com/apache/beam/pull/5578#discussion_r193992269
 
 

 ##########
 File path: 
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java
 ##########
 @@ -396,20 +423,26 @@ public void close() throws Exception {
       // in processWatermark*() but have holds, so we have to re-evaluate here.
       processWatermark(new Watermark(Long.MAX_VALUE));
       if (currentOutputWatermark < Long.MAX_VALUE) {
-        throw new RuntimeException("There are still watermark holds. Watermark 
held at "
-            + keyedStateInternals.watermarkHold().getMillis() + ".");
+        if (keyedStateInternals == null) {
+          throw new RuntimeException("Current watermark is still " + 
currentOutputWatermark + ".");
+
+        } else {
 
 Review comment:
   Let just the if and this is the default.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 110055)
    Time Spent: 1h  (was: 50m)

> Update Flink Runner to Flink 1.5.0
> ----------------------------------
>
>                 Key: BEAM-3905
>                 URL: https://issues.apache.org/jira/browse/BEAM-3905
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to