[ https://issues.apache.org/jira/browse/OOZIE-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Kanter updated OOZIE-2546: --------------------------------- Summary: Improperly closed resources in OozieDBCLI (was: Imporperly closed resources in OozieDBCLI) > Improperly 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)