[
https://issues.apache.org/jira/browse/OOZIE-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308945#comment-15308945
]
Peter Bacsko commented on OOZIE-2546:
-------------------------------------
Test failure are unrelated
> 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
> Attachments: OOZIE-2546-001.patch
>
>
> Two resources (database and a Writer) 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#l571
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)