我的 HIVE_HOME = /home/hduser/bin/hive-0.11.0-bin/
当我尝试跑步时
#hive --service hwi
我收到此错误:
INFO hwi.HWIServer:HWI 正在启动
致命 hwi.HWIServer:在 /home/hduser/bin/hive-0.11.0-bin/home/hduser/bin/hive-0.11.0-bin/lib/hive-hwi-0.11.0 中找不到 HWI WAR 文件。战争**
我做错了什么?
请尝试添加以下内容 -
<property>
<name>hive.hwi.war.file</name>
<value>${HIVE_HOME}/lib/hive_hwi.war</value>
<description>This is the WAR file with the jsp content for Hive Web Interface</description>
</property>
您必须确保${HIVE_HOME}/lib/hive_hwi.war可访问。
确认您可以ls -l ${HIVE_HOME}/lib/hive_hwi.war从终端执行操作并查看您是否可以访问war文件。
请检查此链接以供参考(您可能已经知道这一点),但无论如何都要与您分享。