[jira] [Updated] (FLINK-26788) AbstractDeserializationSchema should add cause when thow a FlinkRuntimeException
[ https://issues.apache.org/jira/browse/FLINK-26788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yun Gao updated FLINK-26788: Fix Version/s: 1.16.0 > AbstractDeserializationSchema should add cause when thow a > FlinkRuntimeException > > > Key: FLINK-26788 > URL: https://issues.apache.org/jira/browse/FLINK-26788 > Project: Flink > Issue Type: Improvement > Components: API / Core >Affects Versions: 1.12.7, 1.13.6, 1.14.4 >Reporter: zlzhang0122 >Priority: Major > Labels: pull-request-available > Fix For: 1.15.0, 1.16.0 > > > In the constructor method of the class AbstractDeserializationSchema which > has no parameters, it throw a FlinkRuntimeException, but it has no cause, > which will lead more difficult to find the root cause, we should use the > {code:java} > FlinkRuntimeException(String message, Throwable cause) {code} > instead of > {code:java} > FlinkRuntimeException(String message) {code} > see > [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. > > -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (FLINK-26788) AbstractDeserializationSchema should add cause when thow a FlinkRuntimeException
[ https://issues.apache.org/jira/browse/FLINK-26788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan Tao updated FLINK-26788: - Description: In the constructor method of the class AbstractDeserializationSchema which has no parameters, it throw a FlinkRuntimeException, but it has no cause, which will lead more difficult to find the root cause, we should use the {code:java} FlinkRuntimeException(String message, Throwable cause) {code} instead of {code:java} FlinkRuntimeException(String message) {code} see [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. was: In the constructor method of the class AbstractDeserializationSchema which has no parameters, it throw a FlinkRuntimeException, but it has no cause, which will lead more difficult to find the root cause, we should use the {code:java} FlinkRuntimeException(String message, Throwable cause) {code} instead of {code:java} FlinkRuntimeException(String message) {code} see [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. > AbstractDeserializationSchema should add cause when thow a > FlinkRuntimeException > > > Key: FLINK-26788 > URL: https://issues.apache.org/jira/browse/FLINK-26788 > Project: Flink > Issue Type: Improvement > Components: API / Core >Affects Versions: 1.12.7, 1.13.6, 1.14.4 >Reporter: zlzhang0122 >Priority: Major > Labels: pull-request-available > Fix For: 1.15.0 > > > In the constructor method of the class AbstractDeserializationSchema which > has no parameters, it throw a FlinkRuntimeException, but it has no cause, > which will lead more difficult to find the root cause, we should use the > {code:java} > FlinkRuntimeException(String message, Throwable cause) {code} > instead of > {code:java} > FlinkRuntimeException(String message) {code} > see > [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. > > -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (FLINK-26788) AbstractDeserializationSchema should add cause when thow a FlinkRuntimeException
[ https://issues.apache.org/jira/browse/FLINK-26788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated FLINK-26788: --- Labels: pull-request-available (was: ) > AbstractDeserializationSchema should add cause when thow a > FlinkRuntimeException > > > Key: FLINK-26788 > URL: https://issues.apache.org/jira/browse/FLINK-26788 > Project: Flink > Issue Type: Improvement > Components: API / Core >Affects Versions: 1.12.7, 1.13.6, 1.14.4 >Reporter: zlzhang0122 >Priority: Major > Labels: pull-request-available > Fix For: 1.15.0 > > > In the constructor method of the class AbstractDeserializationSchema which > has no parameters, it throw a FlinkRuntimeException, but it has no cause, > which will lead more difficult to find the root cause, we should use the > {code:java} > FlinkRuntimeException(String message, Throwable cause) {code} > instead of > {code:java} > FlinkRuntimeException(String message) {code} > see > [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. > -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (FLINK-26788) AbstractDeserializationSchema should add cause when thow a FlinkRuntimeException
[ https://issues.apache.org/jira/browse/FLINK-26788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zlzhang0122 updated FLINK-26788: Description: In the constructor method of the class AbstractDeserializationSchema which has no parameters, it throw a FlinkRuntimeException, but it has no cause, which will lead more difficult to find the root cause, we should use the {code:java} FlinkRuntimeException(String message, Throwable cause) {code} instead of {code:java} FlinkRuntimeException(String message) {code} see [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. was: In the constructor method of the class AbstractDeserializationSchema which has no parameters, it throw a FlinkRuntimeException, but it has no cause, which will lead more difficult to find the root cause, we should use the {code:java} FlinkRuntimeException(String message, Throwable cause) {code} instead of {code:java} FlinkRuntimeException(String message) {code} . > AbstractDeserializationSchema should add cause when thow a > FlinkRuntimeException > > > Key: FLINK-26788 > URL: https://issues.apache.org/jira/browse/FLINK-26788 > Project: Flink > Issue Type: Improvement > Components: API / Core >Affects Versions: 1.12.7, 1.13.6, 1.14.4 >Reporter: zlzhang0122 >Priority: Major > Fix For: 1.15.0 > > > In the constructor method of the class AbstractDeserializationSchema which > has no parameters, it throw a FlinkRuntimeException, but it has no cause, > which will lead more difficult to find the root cause, we should use the > {code:java} > FlinkRuntimeException(String message, Throwable cause) {code} > instead of > {code:java} > FlinkRuntimeException(String message) {code} > see > [here|https://github.com/apache/flink/blob/ff3336266e5ea6c440916c1ae4ab9440e2ceb0bf/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java#L107]. > -- This message was sent by Atlassian Jira (v8.20.1#820001)