paimon
paimon copied to clipboard
[Bug] hive 2.1.1 create catalog error . Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
Search before asking
- [X] I searched in the issues and found nothing similar.
Paimon version
0.7.0
Compute Engine
flink 1.14
Minimal reproduce step
@humengyu2012
use hive 2.1.1 create catalog error .
reason: hive 2.1.1 Version HiveMetaStoreClient Structure method: public HiveMetaStoreClient(HiveConf conf, Boolean allowEmbedded)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.paimon.hive.RetryingMetaStoreClientFactory.createClient(RetryingMetaStoreClientFactory.java:146)
at org.apache.paimon.hive.HiveCatalog.createClient(HiveCatalog.java:600)
at org.apache.paimon.hive.HiveCatalog.
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.paimon.hive.RetryingMetaStoreClientFactory.lambda$static$7(RetryingMetaStoreClientFactory.java:111)
at org.apache.paimon.hive.RetryingMetaStoreClientFactory.createClient(RetryingMetaStoreClientFactory.java:144)
... 54 more
Caused by: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1654)
at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.
`
What doesn't meet your expectations?
Normal use hive hms create catalog.
Anything else?
Inquiry question mr:
https://github.com/apache/paimon/pull/2354
Are you willing to submit a PR?
- [X] I'm willing to submit a PR!