You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/10/09 12:36:00 UTC
[jira] [Closed] (FLINK-7869) Don't use PipelineErrorHandler on the
client
[ https://issues.apache.org/jira/browse/FLINK-7869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann closed FLINK-7869.
--------------------------------
Resolution: Done
> Don't use PipelineErrorHandler on the client
> --------------------------------------------
>
> Key: FLINK-7869
> URL: https://issues.apache.org/jira/browse/FLINK-7869
> Project: Flink
> Issue Type: Sub-task
> Components: Deployment / Mesos, Runtime / Coordination
> Reporter: Eron Wright
> Priority: Major
>
> The `PipelineErrorHandler` is being used in both the server and client pipeline, but produces an HTTP response upon error (which obviously doesn't make sense on the client).
> I believe that the `AbstractRestHandler` is best suited to producing an HTTP error response. Keep in mind that the channel might not be in a state where an HTTP response makes sense, e.g. after a web socket has been handshaked. I suggest that the last handler only log and close the channel.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)