[ https://issues.apache.org/jira/browse/FLINK-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15772332#comment-15772332 ]
Anton Solovev commented on FLINK-5282: -------------------------------------- [~tedyu] what do ypu mean exactly? {{keyedStateOut}} is already closing in finall block http://pasteboard.co/dciBXLSYj.png > CheckpointStateOutputStream should be closed in finally block in > SavepointV0Serializer#convertKeyedBackendState() > ----------------------------------------------------------------------------------------------------------------- > > Key: FLINK-5282 > URL: https://issues.apache.org/jira/browse/FLINK-5282 > Project: Flink > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > {code} > CheckpointStreamFactory.CheckpointStateOutputStream keyedStateOut = > > checkpointStreamFactory.createCheckpointStateOutputStream(checkpointID, 0L); > final long offset = keyedStateOut.getPos(); > {code} > If getPos() throws exception, keyedStateOut would be left unclosed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)