flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6105) Properly handle InterruptedException
Date Fri, 17 Mar 2017 15:36:41 GMT
Ted Yu created FLINK-6105:

             Summary: Properly handle InterruptedException
                 Key: FLINK-6105
                 URL: https://issues.apache.org/jira/browse/FLINK-6105
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu

When catching InterruptedException, we should throw InterruptedIOException instead of IOException.

The following example is from HadoopInputFormatBase :
    try {
      splits = this.mapreduceInputFormat.getSplits(jobContext);
    } catch (InterruptedException e) {
      throw new IOException("Could not get Splits.", e);
There may be other places where IOE is thrown.

This message was sent by Atlassian JIRA

View raw message