Hey Chris, Keep in mind that the core jar was removed some time ago [1, 2] so in new releases (4.0.0 onwards) it will not be there. I am not sure what integration you are trying to establish but it would be definitely easier if you opt for something lighter like the JDBC API and the Hive JDBC driver.
Shading in hive-exec is a real pain point [3] but not an easy one to get rid of. Best, Stamatis [1] https://lists.apache.org/thread/yld75ltf9y8d9q3cow3xqlg0fqyj6mkg [2] https://issues.apache.org/jira/browse/HIVE-25531 [3] https://issues.apache.org/jira/browse/HIVE-26220 On Tue, Sep 19, 2023 at 10:17 AM Christofer Dutz <christofer.d...@c-ware.de> wrote: > > Hi all, > > ok … so it seems StackOverflow’s my friend. > Seems adding a classifier of “core” to the dependency gets me an unshaded > version. > > Chris > > Von: Christofer Dutz <christofer.d...@c-ware.de> > Datum: Dienstag, 19. September 2023 um 09:19 > An: dev@hive.apache.org <dev@hive.apache.org> > Betreff: Alternatives to dependency on hive-exec? > Hi all, > > I’m currently trying to manage all dependencies in the Apache IoTDB project. > Here for the hive integration, a dependency is used to hive-exec. > Unfortunately, this simply seems to be a big fat jar of all sorts of > dependencies, that we also use separately. > This results in all sorts of dependencies being available twice and I would > love to eliminate this. > > Do you have any suggestions to how I could work without the hive-exec > dependency? I have no problem with adding 10 dependencies instead. > However, I spotted some shaded classes in org.apache.hive … are these > available outside the hive-exec dependency? > > Chris