Download a latest stable version of Hive http://hive.apache.org/downloads.html
sudo tar -zxzf apache-hive-1.1.0-bin.tar.gz
sudo mv apache-hive-1.1.0-bin /usr/local/hive
sudo nano ~/.bashrc
export HIVE_HOME=/usr/local/hive
export HIVE_CONF_DIR=$HIVE_HOME/conf
export HIVE_CLASS_PATH=$HIVE_CONF_DIR
export PATH=$HIVE_HOME/bin:$PATH
source ~/.bashrc
hive -help
0 comments:
Post a Comment