-
添加war包到hive的lib目录:
下载添加到/usr/lib/hive/lib/hive-hwi-0.9.0-cdh4.1.0.war
-
添加配置到hive-site.xml
<property>
<name>hive.hwi.listen.host</name>
<value>0.0.0.0</value>
<description>This is the host address the Hive Web Interface will listen on</description>
</property>
<property>
<name>hive.hwi.listen.port</name>
<value>9999</value>
<description>This is the port the Hive Web Interface will listen on</description>
</property>
搭建Hive的图形界面
最新推荐文章于 2021-10-23 15:43:58 发布
本文介绍了如何搭建Hive的图形界面。首先,将hive-hwi-0.9.0-cdh4.1.0.war文件添加到Hive的lib目录,然后更新hive-site.xml配置,设置ANT_LIB环境变量。如果需要,将tools.jar复制到hive/lib下。注意确保JAVA_HOME指向JDK而非JRE,否则可能会遇到找不到javac编译器的错误。最后,通过执行hive --service hwi命令启动Hive的图形界面,访问URL http://192.168.81.176:9999/hwi/ 即可使用。
摘要由CSDN通过智能技术生成