You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hequn Cheng (JIRA)" <ji...@apache.org> on 2018/11/14 06:04:00 UTC

[jira] [Commented] (FLINK-10871) ExecutionEnvironment & TableEnvironment should be singleton

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

Hequn Cheng commented on FLINK-10871:
-------------------------------------

A singleton Environment makes sense too. I think we can provide a way for users to get a singleton env. [~zjffdu] could you share more about your scenario, that would be helpful.

> ExecutionEnvironment & TableEnvironment should be singleton
> -----------------------------------------------------------
>
>                 Key: FLINK-10871
>                 URL: https://issues.apache.org/jira/browse/FLINK-10871
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Jeff Zhang
>            Assignee: Hequn Cheng
>            Priority: Minor
>
> For now, ExecutionEnvironment.getExecutionEnvironment and TableEnvironment.getTableEnvironment will always create a new object, I don't think singleton should be sufficient for flink app unless I misunderstand it. 



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