hive的debug命令:hive -hiveconf hive.root.logger=Debug,console
hiveserver2的 debug 实现:
1. beeline has a flag --verbose=[true/false] that will output more information, I use that option regularly to get back more information about stacktraces.
2.Edit the /etc/hive/conf/beeline-log4j.properties you created by copying from beeline-log4j.properties.template and specify log4j.rootLogger=DEBUG, console