hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sp...@apache.org
Subject [3/7] hive git commit: HIVE-13749: Memory leak in Hive Metastore (Naveen Gangam, reviewed by Thejas M Nair, Aihua Xu)
Date Wed, 28 Sep 2016 21:03:39 GMT
HIVE-13749: Memory leak in Hive Metastore (Naveen Gangam, reviewed by Thejas M Nair, Aihua
Xu)


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

Branch: refs/heads/branch-2.1
Commit: 23c98ad6a5cb62180f7ef6649069632cd39fbc24
Parents: 72b039c
Author: Aihua Xu <aihuaxu@apache.org>
Authored: Fri Jul 8 09:54:12 2016 -0400
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Wed Sep 28 15:46:09 2016 -0500

----------------------------------------------------------------------
 .../src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/23c98ad6/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
index c7e3a6a..66bf23c 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -826,6 +826,7 @@ public class HiveMetaStore extends ThriftHiveMetastore {
         try {
           ms.shutdown();
         } finally {
+          threadLocalConf.remove();
           threadLocalMS.remove();
         }
       }


Mime
View raw message