您的位置:首页 > 其它

搭建Hive的图形界面

2013-05-17 10:17 253 查看
添加war包到hive的lib目录:

下载添加到/usr/lib/hive/lib/hive-hwi-0.9.0-cdh4.1.0.war

添加配置到hive-site.xml

<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>

<property>

<name>hive.hwi.war.file</name>

<value>/usr/lib/hive/lib/hive_hwi.war</value>

<description>This is the WAR file with the jsp content for Hive Web Interface</description>

</property>

设置ANT_LIB路径

export ANT_LIB=/usr/lib/apache-ant-1.9.0/lib

(optional)cp /usr/java/jdk1.6.0_35/lib/tools.jar /usr/lib/hive/lib/

Caused by:

Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK.

It is currently set to "/usr/java/jdk1.6.0_35/jre"

启动hwi

hive --service hwi > hwi.log

web GUI URL: http://****:9999/hwi/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: