HIVE-16991: HiveMetaStoreClient needs a 2-arg constructor for backwards 
compatibility (Andrew Sherman, reviewed by Sergio Pena)


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

Branch: refs/heads/branch-2.3
Commit: aef5ebb678d37751546afbf6bca32d67e2f27dad
Parents: aaa440f
Author: Andrew Sherman <asher...@cloudera.com>
Authored: Fri Jun 30 14:19:41 2017 -0500
Committer: Sahil Takiar <stak...@cloudera.com>
Committed: Tue Nov 7 08:15:47 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java    | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/aef5ebb6/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
----------------------------------------------------------------------
diff --git 
a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java 
b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
index 7002620..c5db77f 100644
--- 
a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
+++ 
b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
@@ -128,6 +128,10 @@ public class HiveMetaStoreClient implements 
IMetaStoreClient {
     this(conf, null, true);
   }
 
+  public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader) 
throws MetaException {
+    this(conf, hookLoader, true);
+  }
+
   public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader, 
Boolean allowEmbedded)
     throws MetaException {
 

Reply via email to