[ https://issues.apache.org/jira/browse/FLINK-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396041#comment-15396041 ]
ASF GitHub Bot commented on FLINK-4259: --------------------------------------- Github user nssalian commented on the issue: https://github.com/apache/flink/pull/2299 Hi @mbalassi and @zentol, I ran the builds twice and both instances the PythonBinderTest passed. The 2nd build ran with a failure on 2 with: MVN exited with EXIT CODE: 1. java.io.FileNotFoundException: build-target/lib/flink-dist-*.jar (No such file or directory) which, if I am not wrong, isn't related here. Please let me know if you need me to add anything additional. > Unclosed FSDataOutputStream in FileCache#copy() > ----------------------------------------------- > > Key: FLINK-4259 > URL: https://issues.apache.org/jira/browse/FLINK-4259 > Project: Flink > Issue Type: Bug > Reporter: Ted Yu > Assignee: Neelesh Srinivas Salian > Priority: Minor > > {code} > try { > FSDataOutputStream lfsOutput = tFS.create(targetPath, false); > FSDataInputStream fsInput = sFS.open(sourcePath); > IOUtils.copyBytes(fsInput, lfsOutput); > {code} > The FSDataOutputStream lfsOutput should be closed upon exit. -- This message was sent by Atlassian JIRA (v6.3.4#6332)