You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/03/26 12:00:00 UTC

[jira] [Created] (FLINK-16807) Improve reporting of errors during resource initialization

Chesnay Schepler created FLINK-16807:
----------------------------------------

             Summary: Improve reporting of errors during resource initialization
                 Key: FLINK-16807
                 URL: https://issues.apache.org/jira/browse/FLINK-16807
             Project: Flink
          Issue Type: Improvement
          Components: Test Infrastructure
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.11.0


The factories for resources currently returns Optionals for handling failed instantiations, which are an expected occurrence. The factories themselves are only logging the exception.

This has the downside that no error is encoded in the optional, so if no resource can be instantiated we cannot enrich the final exception in any way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)