cloudera-labs / hms-mirror

"hms-mirror" is a utility used to bridge the gap between two clusters and migrate hive metadata.
Apache License 2.0
13 stars 8 forks source link

Support Runtime Java 11 #21

Closed dstreev closed 3 months ago

dstreev commented 1 year ago

hms-mirror currently uses classloading at runtime to contain the jdbc drivers for different hive versions. The current method doesn't work in Java11. It will throw a runtime exception:

java.lang.NoClassDefFoundError: java/sql/Driver

This is caused by the changes and module introductions implemented in Java 9.