[ https://issues.apache.org/jira/browse/HIVE-11450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654908#comment-14654908 ]
Hive QA commented on HIVE-11450: -------------------------------- {color:red}Overall{color}: -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12748717/HIVE-11450.3.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4831/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4831/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4831/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]] + export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.7.0_45-cloudera/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + cd /data/hive-ptest/working/ + tee /data/hive-ptest/logs/PreCommit-HIVE-TRUNK-Build-4831/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + cd apache-github-source-source + git fetch origin + git reset --hard HEAD error: Could not write new index file. fatal: Could not reset index file to revision 'HEAD'. + git checkout master fatal: unable to write new index file + git checkout -b master origin/master fatal: git checkout: branch master already exists + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12748717 - PreCommit-HIVE-TRUNK-Build > Resources are not cleaned up properly at multiple places > -------------------------------------------------------- > > Key: HIVE-11450 > URL: https://issues.apache.org/jira/browse/HIVE-11450 > Project: Hive > Issue Type: Bug > Components: JDBC > Reporter: Nezih Yigitbasi > Assignee: Nezih Yigitbasi > Attachments: HIVE-11450.2.patch, HIVE-11450.3.patch, HIVE-11450.patch > > > I noticed that various resources aren't properly cleaned up in various > classes. To be specific, > * Some streams aren't properly cleaned up in > {{beeline/src/java/org/apache/hive/beeline/BeeLine.java}} and > {{beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java}} > * {{Statement}}, {{ResultSet}}, and {{Connection}} aren't properly cleaned up > in {{beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java}} > * {{Statement}} and {{ResultSet}} aren't properly cleaned up in > {{jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)