简体   繁体   中英

How to install hive on hadoop in CentOS?

I have configured the hadoop2.7.3 on centos 6.8 and running fine.

Need some help regarding the installation of HIVE on top of Hadoop CentOS

Here is a quickstart for an impatient:

Download and install Hive to the same directory, where you have installed Hadoop (eg if Hadoop is in /opt/hadoop, Hive should be in /opt/hive):

wget http://apache.rediris.es/hive/hive-2.1.0/apache-hive-2.1.0-bin.tar.gz
tar -xvf apache-hive-2.1.0-bin.tar.gz 
mv apache-hive-2.1.0-bin hive
cd hive

Generate derby metastore

bin/schematool  -dbType derby -initSchema

Launch Hive:

bin/hive

Hive documentation really helps: https://cwiki.apache.org/confluence/display/Hive/GettingStarted

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM