You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/21 16:25:44 UTC
[jira] [Commented] (FLINK-5865) Throw original exception in RocksDB
states
[ https://issues.apache.org/jira/browse/FLINK-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15876239#comment-15876239 ]
ASF GitHub Bot commented on FLINK-5865:
---------------------------------------
GitHub user shixiaogang opened a pull request:
https://github.com/apache/flink/pull/3380
[FLINK-5865][state] Throw original exception in the states
The wrapping of `RuntimeException` is removed so that we can avoid redundant stack printed in the log.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alibaba/flink flink-5865
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3380.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 #3380
----
commit 0928c44063d5c893b24c24f21050ee643159fb36
Author: xiaogang.sxg <xi...@alibaba-inc.com>
Date: 2017-02-21T16:20:25Z
Throw original exception in RocksDB states
----
> Throw original exception in RocksDB 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
(v6.3.15#6346)