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>
再启动就行了
本文介绍了解决在使用Cloudera版Hive服务启动时遇到的HWIWAR文件未找到的问题,通过将社区版的hive-default.xml.template中的特定部分复制到Cloudera版的配置文件中来解决。
3705

被折叠的 条评论
为什么被折叠?



