You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/03 14:41:00 UTC

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

     [ https://issues.apache.org/jira/browse/KUDU-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Henke resolved KUDU-2751.
-------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

Fixed via upgrading the Hive dependency. 

> 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
>    Affects Versions: 1.10.0
>            Reporter: Adar Dembo
>            Priority: Major
>             Fix For: 1.13.0
>
>
> 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
(v8.3.4#803005)