[ https://issues.apache.org/jira/browse/HIVE-7672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14145082#comment-14145082 ]
Hive QA commented on HIVE-7672: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12670654/HIVE-7672.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6314 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.parse.TestParse.testParse_union {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/943/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/943/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-943/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12670654 > Potential resource leak in EximUtil#createExportDump() > ------------------------------------------------------ > > Key: HIVE-7672 > URL: https://issues.apache.org/jira/browse/HIVE-7672 > Project: Hive > Issue Type: Bug > Reporter: Ted Yu > Assignee: SUYEON LEE > Priority: Minor > Attachments: HIVE-7672.patch > > > Here is related code: > {code} > OutputStream out = fs.create(metadataPath); > out.write(jsonContainer.toString().getBytes("UTF-8")); > out.close(); > {code} > If out.write() throws exception, out would be left unclosed. > out.close() should be enclosed in finally block. -- This message was sent by Atlassian JIRA (v6.3.4#6332)