You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2019/03/26 08:53:00 UTC

[jira] [Created] (KUDU-2751) Java tests that start an HMS client fail when run on JDK10+

Adar Dembo created KUDU-2751:
--------------------------------

             Summary: Java tests that start an HMS client fail when run on JDK10+
                 Key: KUDU-2751
                 URL: https://issues.apache.org/jira/browse/KUDU-2751
             Project: Kudu
          Issue Type: Bug
          Components: java, test
            Reporter: Adar Dembo


They may fail on JDK9 as well, with something like this:
{noformat}
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)
{noformat}

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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)