Description
They may fail on JDK9 as well, with something like this:
MetaException(message:Got exception: java.lang.ClassCastException java.base/[Ljava.lang.Object; cannot be cast to java.base/[Ljava.net.URI;) at org.apache.hadoop.hive.metastore.MetaStoreUtils.logAndThrowMetaException(MetaStoreUtils.java:1389) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:204) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:129) at org.apache.kudu.hive.metastore.TestKuduMetastorePlugin.setUp(TestKuduMetastorePlugin.java:108)
I tracked this down and filed HIVE-21508. We should see if we can find some sort of workaround that isn't necessarily upgrading to a newer Hive artifact (or maybe we should upgrade our Hive dependency).
Attachments
Issue Links
- is caused by
-
HIVE-21508 ClassCastException when initializing HiveMetaStoreClient on JDK10 or newer
- Closed