hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcama...@apache.org
Subject hive git commit: HIVE-13885: Hive session close is not resetting thread name (Rajat Khandelwal, reviewed by Sergey Shelukhin)
Date Wed, 01 Jun 2016 08:36:46 GMT
Repository: hive
Updated Branches:
  refs/heads/master 181a85b85 -> 789f11b98


HIVE-13885: Hive session close is not resetting thread name (Rajat Khandelwal, reviewed by
Sergey Shelukhin)


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

Branch: refs/heads/master
Commit: 789f11b98d74fb8225270977ea842012458f46e6
Parents: 181a85b
Author: Rajat Khandelwal <prongs@apache.org>
Authored: Wed Jun 1 09:36:11 2016 +0100
Committer: Jesus Camacho Rodriguez <jcamacho@apache.org>
Committed: Wed Jun 1 09:36:32 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/hive/service/cli/session/HiveSessionImpl.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/789f11b9/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java b/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
index a0015eb..54ee567 100644
--- a/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
+++ b/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
@@ -646,6 +646,7 @@ public class HiveSessionImpl implements HiveSession {
         hiveHist.closeStream();
       }
       try {
+        sessionState.resetThreadName();
         sessionState.close();
       } finally {
         sessionState = null;
@@ -655,6 +656,7 @@ public class HiveSessionImpl implements HiveSession {
     } finally {
       if (sessionState != null) {
         try {
+          sessionState.resetThreadName();
           sessionState.close();
         } catch (Throwable t) {
           LOG.warn("Error closing session", t);


Mime
View raw message