we are trying to establish a connection with Hive via ZooKeeper using JDBC.
We use custom built Java connector, which runs just fine on its own (bringing its own set of jars).
Externally (in dedicated directory), we can pull in other jars which will be loaded in addition during runtime. This way we bring in 3 jars copied from Hortonworks cluster:
Accoring to the articles I've read, these should be sufficient.
But as soon as we try to establish a connection, we start running into "java.lang.NoClassDefFoundError"s. We have tried to copy more jars with missing classes in attempts to provide the class definitions, but there's one common thing which seems very off.
The reported missing classes are already present within hadoop-jdbc-standalone.jar, but they contain "org.apache.hive." prefix.