This is an automated email from the ASF dual-hosted git repository. nic pushed a commit to branch 3.0.x in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 543f4de83936aea2d143d3e175c80a973f37e700 Author: XiaoxiangYu <hit_la...@126.com> AuthorDate: Fri Feb 21 11:51:38 2020 +0800 KYLIN-4383 Fix reflection error --- .../java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java index ceadacd..9fdd362 100644 --- a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java +++ b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMetaStoreClientFactory.java @@ -49,7 +49,7 @@ public class HiveMetaStoreClientFactory { // getHiveMetastoreClient is not available in CDH profile try { Class<?> clazz = Class.forName("org.apache.hive.hcatalog.common.HCatUtil"); - Method getHiveMetastoreClientMethod = clazz.getDeclaredMethod("getHiveMetastoreClient"); + Method getHiveMetastoreClientMethod = clazz.getDeclaredMethod("getHiveMetastoreClient", HiveConf.class); metaStoreClient = (IMetaStoreClient) getHiveMetastoreClientMethod.invoke(null, hiveConf); } catch (Exception exp) { throw new IllegalStateException("Unable to create MetaStoreClient for " + hiveMetadataOption, exp);