测试服务器包含大量hive-site.xml文件。
我通过hive命令运行Hive的CLI。
如何识别该Hive的CLI所使用的hive-site.xml文件?
没有设置HIVE_CONF_DIR环境变量。
发布于 2017-05-29 14:46:48
执行这个
hive --hiveconf hive.root.logger=DEBUG,console -e '' 2>&1 | grep hive-site.xml演示
bash-4.1$ hive --hiveconf hive.root.logger=DEBUG,console -e '' 2>&1 | grep hive-site.xml
17/05/29 07:45:38 [main]: DEBUG common.LogUtils: Using hive-site.xml found on CLASSPATH at /etc/hive/conf.dist/hive-site.xml
bash-4.1$ https://stackoverflow.com/questions/44237489
复制相似问题