GitHub user f7753 opened a pull request:

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

    [FLINK-4090] Close of OutputStream should be in finally clause in Fli…

    `try {
          OutputStream out = new FileOutputStream(propertiesFile);
          properties.store(out, "Generated YARN properties file");
          out.close();
        } catch (IOException e) {`
    Move the close of out in finally clause.

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

    $ git pull https://github.com/f7753/flink flink4090

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

    https://github.com/apache/flink/pull/2132.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 #2132
    
----
commit 0484760557dc31dfe117dd639ffe724169eefe2b
Author: MaBiao <mabiao...@gmail.com>
Date:   2016-06-20T02:00:02Z

    [FLINK-4090] Close of OutputStream should be in finally clause in 
FlinkYarnSesionCli#writeYarnProperties()

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to