You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Peter Bacsko (JIRA)" <ji...@apache.org> on 2016/05/31 19:38:13 UTC

[jira] [Created] (OOZIE-2546) Imporperly closed resources in OozieDBCLI

Peter Bacsko created OOZIE-2546:
-----------------------------------

             Summary: Imporperly closed resources in OozieDBCLI
                 Key: OOZIE-2546
                 URL: https://issues.apache.org/jira/browse/OOZIE-2546
             Project: Oozie
          Issue Type: Bug
          Components: tools
            Reporter: Peter Bacsko
            Assignee: Peter Bacsko
            Priority: Trivial


Two resources (database and PrintWriter) are not closed properly in OozieDBCLI. They should be handled in a try-finally block.

See:
https://git-wip-us.apache.org/repos/asf?p=oozie.git;a=blob;f=tools/src/main/java/org/apache/oozie/tools/OozieDBCLI.java;h=080fc24932d9e84bc38ad7804c9f206845d16d04;hb=master#l997

https://git-wip-us.apache.org/repos/asf?p=oozie.git;a=blob;f=tools/src/main/java/org/apache/oozie/tools/OozieDBCLI.java;h=080fc24932d9e84bc38ad7804c9f206845d16d04;hb=master#l573




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