zys created KYLIN-5258:
--------------------------

             Summary: kylin5 HiveMetaStore
                 Key: KYLIN-5258
                 URL: https://issues.apache.org/jira/browse/KYLIN-5258
             Project: Kylin
          Issue Type: Bug
          Components: Metadata
    Affects Versions: 5.0-alpha
            Reporter: zys


Hi! i compile kylin5 and found that there are more settings in 
kylin.properties, such as 
spark.sql.hive.metastore. After start cmd, found errors in logs/check-env.out 
like that:
 
22/09/07 22:10:08 WARN metadata.Hive: Failed to register all functions.
java.lang.RuntimeException: Unable to instantiate 
org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
        at 
org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1662)
        at 
org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:67)
        at 
org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:82)
        at 
org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3411)
        at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3430)
        at 
org.apache.hadoop.hive.ql.metadata.Hive.getAllFunctions(Hive.java:3655)
        at 
org.apache.hadoop.hive.ql.metadata.Hive.reloadFunctions(Hive.java:231)
        at 
org.apache.hadoop.hive.ql.metadata.Hive.registerAllFunctionsOnce(Hive.java:215)
 
hive.metastore.version is 1.1.0. i have tried spark2.*, 3.*, and put 
hive.site-xml in $SPARK_HOME/conf, the result is same.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to