Linux hive'使用哪个hive-site.xml;s CLI
测试服务器包含大量Linux hive'使用哪个hive-site.xml;s CLI,linux,hive,command-line-interface,Linux,Hive,Command Line Interface,测试服务器包含大量hive site.xml文件 我通过Hive命令运行Hive的CLI 如何确定该配置单元的CLI使用了哪个hive site.xml文件 HIVE\u CONF\u DIR未设置环境变量。执行此命令 hive --hiveconf hive.root.logger=DEBUG,console -e '' 2>&1 | grep hive-site.xml 演示 bash-4.1$ hive --hiveconf hive.root.logger=DEBUG,c
hive site.xml
文件
我通过Hive
命令运行Hive的CLI
如何确定该配置单元的CLI使用了哪个hive site.xml
文件
HIVE\u CONF\u DIR
未设置环境变量。执行此命令
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$