GitHub user vishnukl-alation opened a pull request:
https://github.com/apache/hive/pull/401
Fixing array class cast exception in HiveMetaStoreClient
Java 9 made changes to `toArray()` to always return `Object[]` and this
cannot be cast into any of the subtypes including `URI[]`. This raises a class
cast exception on Java 9. Modified the `HiveMetaStoreClient` to use the
`toArray(T[] a)` to return the URI[] type. This might require back ports to
earlier releases if anyone is using the client in Java 9.
https://stackoverflow.com/questions/51372788/array-cast-java-8-vs-java-9
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vishnukl-alation/hive master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hive/pull/401.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #401
----
commit 1d4951bf0a57d8286f3386387050780d9e9dd5c3
Author: Vishnu <vishnukarthik.lakshmanan@...>
Date: 2018-07-17T21:13:46Z
Fixing array class cast exception in HiveMetaStoreClient
----
---