hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gop...@apache.org
Subject hive git commit: HIVE-13322: LLAP: ZK registry throws at shutdown due to slf4j trying to initialize a log4j logger (Gopal V, reviewed by Prasanth Jayachandran)
Date Tue, 22 Mar 2016 20:43:29 GMT
Repository: hive
Updated Branches:
  refs/heads/master 40f82630b -> f971b191f


HIVE-13322: LLAP: ZK registry throws at shutdown due to slf4j trying to initialize a log4j
logger (Gopal V, reviewed by Prasanth Jayachandran)


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

Branch: refs/heads/master
Commit: f971b191fa98a55d6ede3c74cc6cb886b5e94da5
Parents: 40f8263
Author: Gopal V <gopalv@apache.org>
Authored: Tue Mar 22 13:11:13 2016 -0700
Committer: Gopal V <gopalv@apache.org>
Committed: Tue Mar 22 13:11:13 2016 -0700

----------------------------------------------------------------------
 .../hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/f971b191/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
----------------------------------------------------------------------
diff --git a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
index ab9fa39..c611d1a 100644
--- a/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
+++ b/llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapZookeeperRegistryImpl.java
@@ -577,6 +577,8 @@ public class LlapZookeeperRegistryImpl implements ServiceRegistry {
       setupZookeeperAuth(this.conf);
       zooKeeperClient.start();
     }
+    // Init closeable utils in case register is not called (see HIVE-13322)
+    CloseableUtils.class.getName();
   }
 
   @Override


Mime
View raw message