This is an automated email from the ASF dual-hosted git repository. nic pushed a commit to branch 2.6.x in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/2.6.x by this push: new ed1f42a KYLIN-4383 Fix reflection error ed1f42a is described below commit ed1f42a6be592a9df04ab92a9205cd89d695642e 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);