commit b0a545bc9162064c9f035581848805221ee6a0d3 Author: Andrew Sherman Date: Thu Jun 29 10:04:16 2017 -0700 HIVE-16991: HiveMetaStoreClient needs a 2-arg constructor for backwards compatibility diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index b99f40a9f9bf23d6520d95d317a017f0580be035..5a67ec3a451cc08b469602dd5c1c1a95e8638be8 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -128,6 +128,10 @@ public HiveMetaStoreClient(HiveConf conf) throws MetaException { 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 {