We currently maintain this very hard to maintain list for all jars shipped in hive package:
This is done because hive-jdbc package needs to include some set of core hive jars and there is no real good way in debian land to say something like include these 5 jars in /usr/lib/hive/lib in hive-jdbc package and include everything else in hive package (btw, rpm does. See here: https://github.com/apache/bigtop/blob/master/bigtop-packages/src/rpm/hive/SPECS/hive.spec#L336)
But, given that this is pretty unmaintainable, we should come up with something better and populate this list on the fly. Something like listing contents of what all is present in HIVE_HOME/lib and getting rid explicitly of the jars we bundle in hive-jdbc package seems like a good option.