Build hive's graphical interface hive-0.14.0 version

Source: Internet
Author: User

1. Download the source code on the hive's official website and upload it to the server

2. Go to the directory to unzip

TAR-ZXVF apache-hive-0.14.0-src.tar.gz
3. Go to the web directory

CD APACHE-HIVE-0.14.0-SRC
CD Hwi/web

4. Make the Web source into a zip package

Zip hive-hwi-0.14.0.zip./*//packaged into a. zip file.

5. Change the zip suffix to war

Hive-hwi-0.14.0.war

6. Copy the war package to the Lib directory under hive

CP Hive-hwi-0.14.0.war $HIVE _home/lib


7. Look at hive configuration file Hive-site.xml, if there are three properties, if not, add it.


<property>
< name>hive.hwi.listen.host</name>
< value>0.0.0.0</value>
</property>
< property>
< name>hive.hwi.listen.port</name>
< value>9999</value>
</property>
< property>
< name>hive.hwi.war.file</name>
< value>lib/hive-hwi-0.14.0.war</value>
</property>

8. Save, exit.

9. Start Hwi:
Hive--service Hwi


If you have the following error:
Problem accessing/hwi/. Reason:


Unable to find a javac compiler;
Com.sun.tools.javac.Main isn't on the classpath.
Perhaps Java_home does not point to the JDK.
It is currently set to "/usr/java/jdk1.7.0_55/jre"



Cp/usr/java/jdk1.7.0_55/lib/tools.jar $HIVE _home/lib/
Hive--service hwi reboot.

This article is from the "Cheng && program Garden" blog, please make sure to keep this source http://alentain.blog.51cto.com/3572099/1612044

Build hive's graphical interface hive-0.14.0 version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.