You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2023/04/06 08:47:00 UTC

[jira] [Commented] (FLINK-31667) Should not enforce attached mode in RemoteEnvironment & RemoteStreamEnvironment

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

Weijie Guo commented on FLINK-31667:
------------------------------------

Emm, I don't remember why it is forced to be set to {{ATTACHED}} here, if anyone knows the reason, please tell me. But at the moment it seems that this is unnecessary. 

> Should not enforce attached mode in RemoteEnvironment & RemoteStreamEnvironment
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-31667
>                 URL: https://issues.apache.org/jira/browse/FLINK-31667
>             Project: Flink
>          Issue Type: Improvement
>          Components: Client / Job Submission
>            Reporter: Jeff Zhang
>            Priority: Major
>
> Currently, Flink enforce to use attached mode in `RemoteEnvironment` & `RemoteStreamEnvironment` even user try to use detached mode. This doesn't make sense to me.
> * https://github.com/apache/flink/blob/master/flink-java/src/main/java/org/apache/flink/api/java/RemoteEnvironment.java#L151
> * https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/RemoteStreamEnvironment.java#L211
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)