Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2751

Java tests that start an HMS client fail when run on JDK10+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.13.0
    • java, test
    • None

    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

          Activity

            People

              Unassigned Unassigned
              adar Adar Dembo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: