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