欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

搭建Hive的图形界面

程序员文章站 2022-05-26 16:50:04
...

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