flink-dev 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-2913) Close of ObjectOutputStream should be enclosed in finally block in FsStateBackend
Date Sat, 24 Oct 2015 16:06:27 GMT
Ted Yu created FLINK-2913:
-----------------------------

             Summary: Close of ObjectOutputStream should be enclosed in finally block in FsStateBackend
                 Key: FLINK-2913
                 URL: https://issues.apache.org/jira/browse/FLINK-2913
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
      ObjectOutputStream os = new ObjectOutputStream(outStream);
      os.writeObject(state);
      os.close();
{code}
If IOException is thrown out of writeObject(), the close() call would be skipped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message