flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5865) Throw original exception in states
Date Thu, 16 Mar 2017 01:39:41 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927295#comment-15927295

ASF GitHub Bot commented on FLINK-5865:

Github user shixiaogang commented on the issue:

    I prefer to throw more detailed exceptions e.g. `IncompatibleTypeSerializerException`,
`StateAccessException` and `StateNotFoundException`. They all are extended from `FlinkRuntimeException`.
 Users can get more information from these exceptions if they catch the exceptions.

> Throw original exception in states
> ----------------------------------
>                 Key: FLINK-5865
>                 URL: https://issues.apache.org/jira/browse/FLINK-5865
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.3.0
>            Reporter: Xiaogang Shi
>            Assignee: Xiaogang Shi
> Now all exception thrown in RocksDB states are converted to {{RuntimeException}}. It's
unnecessary and will print useless stacks in the log.
> I think it's better to throw the original exception, without any wrapping.

This message was sent by Atlassian JIRA

View raw message