找不到hive-hwi- <version> .war文件</version>

时间:2014-09-09 11:18:28

标签: java hadoop ant hive yarn

我无法按照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。

1 个答案:

答案 0 :(得分:0)

HIVE-7233

您可能需要更改其他版本的配置单元或复制war文件的版本