搭建Hive的图形界面

原创
2016-06-07 14:58:49 1094浏览

搭建Hive的图形界面 添加war包到hive的lib目录: 下载添加到/usr/lib/hive/lib/hive-hwi-0.9.0-cdh4.1.0.war 添加配置到hive-site.xml property namehive.hwi.listen.host/name value0.0.0.0/value descriptionThis is the host address the Hive Web Interf

搭建Hive的图形界面

添加war包到hive的lib目录:

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

添加配置到hive-site.xml

hive.hwi.listen.host

0.0.0.0

This is the host address the Hive Web Interface will listen on

hive.hwi.listen.port

9999

This is the port the Hive Web Interface will listen on

hive.hwi.war.file

/usr/lib/hive/lib/hive_hwi.war

This is the WAR file with the jsp content for Hive Web Interface

设置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/

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。