FAQ
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);

Search Discussions

  • Jcamacho at Jun 1, 2016 at 8:37 am
    Repository: hive
    Updated Branches:
       refs/heads/branch-2.1 77f563f26 -> 761aead05


    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/761aead0
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/761aead0
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/761aead0

    Branch: refs/heads/branch-2.1
    Commit: 761aead05b90fae9320a4f2344c7276a13b8ac2f
    Parents: 77f563f
    Author: Rajat Khandelwal <prongs@apache.org>
    Authored: Wed Jun 1 09:37:08 2016 +0100
    Committer: Jesus Camacho Rodriguez <jcamacho@apache.org>
    Committed: Wed Jun 1 09:37:08 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/761aead0/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);

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJun 1, '16 at 8:36a
activeJun 1, '16 at 8:37a
posts2
users1
websitehive.apache.org

1 user in discussion

Jcamacho: 2 posts

People

Translate

site design / logo © 2021 Grokbase