[
https://issues.apache.org/jira/browse/FLINK-16427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052111#comment-17052111
]
Zili Chen edited comment on FLINK-16427 at 3/5/20, 1:00 PM:
------------------------------------------------------------
Because ProgramInvocationExceptions is in flink-client while
RemoteStreamEnvironment is in flink-streaming-java. Another approach might be
we move one or both of these class to another module for resolving the issue
but since it happens we use {{ProgramInvocationExceptions}} instead of a strong
requirement I tend to choose the way listed here.
was (Author: tison):
Because ProgramInvocationExceptions is in flink-client while
RemoteStreamEnvironment is in flink-streaming-java. Another perspective might
me we move one or both of these class to another module for resolving the issue
but since it happens we use {{ProgramInvocationExceptions}} instead of a strong
requirement I tend to choose the way listed here.
> Remove directly throw ProgramInvocationExceptions in RemoteStreamEnvironment
> ----------------------------------------------------------------------------
>
> Key: FLINK-16427
> URL: https://issues.apache.org/jira/browse/FLINK-16427
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Reporter: Zili Chen
> Assignee: Zili Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This issue is a child issue of FLINK-15090.
> With a previous discussion with [~aljoscha] we tend to reverse the dependency
> from flink-streaming-java to flink-client so that we have a semantic correct
> module dependency. That says, flink-streaming-java, just like
> flink-java(batch api), is an api module which should not know about the
> runtime.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)