You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/10 03:40:20 UTC

[jira] [Commented] (FLINK-4607) Close FileInputStream in ParameterTool and other

    [ https://issues.apache.org/jira/browse/FLINK-4607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15479062#comment-15479062 ] 

ASF GitHub Bot commented on FLINK-4607:
---------------------------------------

GitHub user apivovarov opened a pull request:

    https://github.com/apache/flink/pull/2488

    [FLINK-4607] Close FileInputStream in ParameterTool and other

    https://issues.apache.org/jira/browse/FLINK-4607

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apivovarov/flink FLINK-4607

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2488.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2488
    
----
commit dc0e636f630f8ab96d7cc71ede0a5a3ea5ce24a4
Author: Alexander Pivovarov <ap...@gmail.com>
Date:   2016-09-10T03:32:28Z

    [FLINK-4607] Close FileInputStream in ParameterTool and other

----


> Close FileInputStream in ParameterTool and other
> ------------------------------------------------
>
>                 Key: FLINK-4607
>                 URL: https://issues.apache.org/jira/browse/FLINK-4607
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>            Reporter: Alexander Pivovarov
>            Priority: Trivial
>
> ParameterTool and some tests do not close FileInputStream
> {code}
> flink-core/src/test/java/org/apache/flink/core/fs/local/LocalFileSystemTest.java
> flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
> flink-java/src/test/java/org/apache/flink/api/java/utils/ParameterToolTest.java
> flink-java8/src/test/java/org/apache/flink/runtime/util/JarFileCreatorLambdaTest.java
> flink-runtime/src/test/java/org/apache/flink/runtime/util/JarFileCreatorTest.java
> {code}



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