how to install hive

Posted kane_zch

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了how to install hive相关的知识,希望对你有一定的参考价值。

1. download hive1.2.1 to /usr/local----------------->     apache-hive-1.2.1-bin.tar.gz

2. tar zxvf apache-hive-1.2.1-bin.tar.gz ---------->then there will be a directory apache-hive-1.2.1-bin

3. set envionmetal variable HIVE_HOME to this dir---->$HIVE_HOME =   /usr/local/apache-hive-1.2.1-bin/bin

4. create directory for hive on hdfs 

$ hdfs dfs -mkdir       /tmp
$ hdfs dfs -mkdir /user/hive/ $ hdfs
dfs -mkdir /user/hive/warehouse $ hdfs dfs -chmod g+w /tmp $ hdfs dfs -chmod g+w /user/hive
$ hdfs dfs -chmod g+w /user/hive/warehouse

 

以上是关于how to install hive的主要内容,如果未能解决你的问题,请参考以下文章

How to Install MySQL

How to install Lion

How to Install WordPress – Complete WordPress Installation Tutorial

how to install git 1.8 rpm

ubuntu——How to Install MySQL GUI

How to Install The Alpha Control Packages.