You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Paul Lin (Jira)" <ji...@apache.org> on 2021/08/10 09:28:00 UTC

[jira] [Created] (FLINK-23703) Support unrecoverable exception class list in configuration

Paul Lin created FLINK-23703:
--------------------------------

             Summary: Support unrecoverable exception class list in configuration
                 Key: FLINK-23703
                 URL: https://issues.apache.org/jira/browse/FLINK-23703
             Project: Flink
          Issue Type: New Feature
          Components: Runtime / Configuration
            Reporter: Paul Lin


Currently users can use `@ThrowableAnnotation` to dento a custom exception is unrecoverable to avoid unnecessary retries, but it is not possible to annotate an exception from the standard libs or third-party libs. 

Thus I propose to add a configuration option,  such as `unrecoverable.exceptions`, of which values are a comma-separated list of fully-qualified names of exceptions, with a default value covering the most common unrecoverable exceptions like NPE, ClassNotFoundException, etc. 



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