hive 日志配置/表頭配置


1.日志配置,拷貝hive/conf下的hive-log4j2.properties.template為hive-log4j2.properties,修改日志目錄,接下來在創建hive/logs,目錄即可

 

2.表頭配置,在hive-site,xml中增加如下屬性

1 <property>
2     <name>hive.cli.print.header</name>
3     <value>true</value>
4 </property>
5 
6 <property>
7     <name>hive.cli.print.current.db</name>
8     <value>true</value>
9 </property>

重啟hive即可

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM