Created
May 4, 2011 08:11
-
-
Save pingles/954913 to your computer and use it in GitHub Desktop.
Hive upstart init script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start on runlevel [2345] | |
stop on runlevel [06] | |
respawn | |
script | |
export HOME="/home/deploy" | |
export JAVA_HOME="/usr/lib/jvm/java-6-sun" | |
export HIVE_HOME="/usr/lib/hive" | |
export HADOOP_HOME="/usr/lib/hadoop" | |
HIVE_PORT=10001 $HIVE_HOME/bin/hive --service hiveserver | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment