You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by da...@apache.org on 2018/10/04 05:26:02 UTC
hive git commit: HIVE-20674: TestJdbcWithMiniLlapArrow.testKillQuery
fail frequently (Daniel Dai, reviewed by Vaibhav Gumashta)
Repository: hive
Updated Branches:
refs/heads/master 240bfb464 -> e96ea6631
HIVE-20674: TestJdbcWithMiniLlapArrow.testKillQuery fail frequently (Daniel Dai, reviewed by Vaibhav Gumashta)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e96ea663
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e96ea663
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e96ea663
Branch: refs/heads/master
Commit: e96ea6631f40c7f3482442faf378667b66280c55
Parents: 240bfb4
Author: Daniel Dai <da...@gmail.com>
Authored: Wed Oct 3 22:25:44 2018 -0700
Committer: Daniel Dai <da...@gmail.com>
Committed: Wed Oct 3 22:25:44 2018 -0700
----------------------------------------------------------------------
.../org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/e96ea663/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java
----------------------------------------------------------------------
diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java
index 4942ed9..2e7c21f 100644
--- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java
+++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniLlapArrow.java
@@ -346,9 +346,13 @@ public class TestJdbcWithMiniLlapArrow extends BaseJdbcWithMiniLlap {
tKill.start();
tExecute.join();
tKill.join();
- stmt.close();
- con2.close();
- con.close();
+ try {
+ stmt.close();
+ con2.close();
+ con.close();
+ } catch (Exception e) {
+ // ignore error
+ }
assertNotNull("tExecute", tExecuteHolder.throwable);
assertNull("tCancel", tKillHolder.throwable);