读书人

启动hive hwi服务时出现 HWI WAR file

发布时间: 2013-08-16 14:29:57 作者: rapoo

启动hive hwi服务时出现 HWI WAR file not found错误

Cloudera版的hive-0.7.1再启动hive --service hwi时报错HWI WAR file not found

也不知道为什么?Cloudera版的配置文件和社区版的hadoop不一样?

于是把社区版的hive-default.xml.template 中的一部分拷贝到Cloudera版hive-default.xml中 再启动就行了

?

添加了这段

<property>  <name>hive.hwi.war.file</name>  <value>lib/hive-hwi-0.7.1-cdh3u6.war</value>  <description>This sets the path to the HWI war file, relative to ${HIVE_HOME}. </description></property><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>

?再启动就行了

读书人网 >开源软件

热点推荐