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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)