Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
hive-scripts/ Scripts to start hive
export HIVE_HOME=/opt/hive/hive-0.12.0-bin/
export HIVE_CONF=$HIVE_HOME/conf.drill/
su -l hive -c "env HADOOP_HOME=/usr nohup $HIVE_HOME/bin/hive --service metastore > /tmp/hive.out 2> /tmp/hive.log &"
su -l hive -c "nohup $HIVE_HOME/bin/hiveserver2 -hiveconf hive.metastore.uris=\" \" > /tmp/hiveServer2.out 2>/tmp/hiveServer2.log &"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment