You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/26 08:30:00 UTC

[jira] [Commented] (FLINK-5490) ContextEnvironment.getExecutionPlan() clears Sinks

    [ https://issues.apache.org/jira/browse/FLINK-5490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062688#comment-16062688 ] 

ASF GitHub Bot commented on FLINK-5490:
---------------------------------------

Github user aljoscha commented on the issue:

    https://github.com/apache/flink/pull/3977
  
    @deepakmarathe Thanks for working on this. Before merging, could you please add a test that verifies that we can in fact get the execution plan and still execute the program afterwards. Otherwise, this fix might get lost if some other part of Flink changes.


> ContextEnvironment.getExecutionPlan() clears Sinks
> --------------------------------------------------
>
>                 Key: FLINK-5490
>                 URL: https://issues.apache.org/jira/browse/FLINK-5490
>             Project: Flink
>          Issue Type: Bug
>          Components: Client
>            Reporter: Robert Schmidtke
>            Priority: Trivial
>
> Getting the execution plan via the ExecutionEnvironment causes the sinks to be cleared, effectively resulting in the situation that it is impossible to first obtain the execution plan, and then execute it. Passing false to https://github.com/apache/flink/blob/master/flink-clients/src/main/java/org/apache/flink/client/program/ContextEnvironment.java#L68 should fix this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)