HIVE-19385 it's possible to redirect bin/hive to beeline. This is not working as expected though, because in bin/hive we're setting hive.aux.jars.path. This leads to the following error:
We already avoid setting hive.aux.jars.path when running beeline service but the USE_BEELINE_FOR_HIVE_CLI override happens after that.
I'd suggest checking the value of USE_BEELINE_FOR_HIVE_CLI right after we've selected the service to run (cli/beeline/...) and override cli->beeline there.