我无法按照here所述启动Hive Web界面。这是hive --service hwi
:
ls: cannot access /usr/local/hive/lib/hive-hwi-*.war: No such file or directory
14/09/09 13:07:59 INFO hwi.HWIServer: HWI is starting up
14/09/09 13:08:00 FATAL hwi.HWIServer: HWI WAR file not found at /usr/local/hive/lib/hive-hwi-0.13.1.war
似乎/ usr / local / hive / lib下没有.war文件!我应该生成战争文件吗?
我已正确设置$ ANT_LIB和$ HIVE_HOME,这是我的hive-site.xml:
<configuration>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>hdfs://hadoop-server/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<property>
<name>hive.hwi.war.file</name>
<value>/lib/hive-hwi-0.13.1.war</value>
<description>This is the WAR file with the jsp content for Hive Web Interface</description>
</property>
</configuration>
我的hive版本是0.13.1,hadoop版本是2.5.0。