GitHub user NicoK opened a pull request:
https://github.com/apache/flink/pull/3299
[FLINK-5553] keep the original throwable in PartitionRequestClientHandler
This way, when checking for a previous error in any input channel, we can
throw a meaningful exception instead of the inspecific
`IllegalStateException("There has been an error in the channel.")` before.
Note that the original `Throwable` (from an existing channel) may or may
not(!) have been printed by the `InputGate` yet. Any new input channel,
however, did not get the `Throwable` and must fail through the (now enhanced)
fallback mechanism.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NicoK/flink flink-5553
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3299.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3299
----
commit a722d7cd4c4218543c87c2e8a3b3bbc708bddf55
Author: Nico Kruber <[email protected]>
Date: 2017-02-13T15:30:59Z
[FLINK-5553] keep the original throwable in PartitionRequestClientHandler
This way, when checking for a previous error in any input channel, we can
throw
a meaningful exception instead of the inspecific
IllegalStateException("There has been an error in the channel.") before.
Note that the original throwable (from an existing channel) may or may
not(!)
have been printed by the InputGate yet. Any new input channel, however, did
not
get the Throwable and must fail through the (now enhanced) fallback
mechanism.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---