FAQ
Repository: hive
Updated Branches:
   refs/heads/master 1c69604c6 -> 354358ee2


HIVE-12517: Beeline's use of failed connection(s) causes failures and leaks. (Naveen Gangam via Yongzhi Chen)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/354358ee
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/354358ee
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/354358ee

Branch: refs/heads/master
Commit: 354358ee2682573da915e86848db36dc7bcb0170
Parents: 1c69604
Author: Yongzhi Chen <ychena@apache.org>
Authored: Wed Dec 2 17:54:58 2015 -0500
Committer: Yongzhi Chen <ychena@apache.org>
Committed: Wed Dec 2 17:54:58 2015 -0500

----------------------------------------------------------------------
  beeline/src/java/org/apache/hive/beeline/Commands.java | 1 +
  1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/354358ee/beeline/src/java/org/apache/hive/beeline/Commands.java
----------------------------------------------------------------------
diff --git a/beeline/src/java/org/apache/hive/beeline/Commands.java b/beeline/src/java/org/apache/hive/beeline/Commands.java
index 745f694..08f3846 100644
--- a/beeline/src/java/org/apache/hive/beeline/Commands.java
+++ b/beeline/src/java/org/apache/hive/beeline/Commands.java
@@ -1398,6 +1398,7 @@ public class Commands {
        beeLine.setCompletions();
        return true;
      } catch (SQLException sqle) {
+ beeLine.getDatabaseConnections().remove();
        return beeLine.error(sqle);
      } catch (IOException ioe) {
        return beeLine.error(ioe);

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcommits @
categorieshive, hadoop
postedDec 2, '15 at 10:56p
activeDec 2, '15 at 11:01p
posts2
users1
websitehive.apache.org

1 user in discussion

Ychena: 2 posts

People

Translate

site design / logo © 2021 Grokbase