当前位置:Gxlcms > mysql > 搭建Hive的图形界面

搭建Hive的图形界面

时间:2021-07-01 10:21:17 帮助过:49人阅读

搭建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/

人气教程排行