Created
December 11, 2014 08:32
-
-
Save prasanthj/532721d524bfe4db7e77 to your computer and use it in GitHub Desktop.
Hadoop, tez, hive .bash_profile
This file contains 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
export HADOOP_PREFIX="/work/hadoop/current" | |
export HADOOP_COMMON_HOME="/work/hadoop/current" | |
export HADOOP_HDFS_HOME="/work/hadoop/current" | |
export HADOOP_MAPRED_HOME="/work/hadoop/current" | |
export HADOOP_YARN_HOME="/work/hadoop/current" | |
export HADOOP_CONF_DIR="/work/hadoop/current-conf" | |
export TEZ_VERSION=0.5.2 | |
export TEZ_PREFIX=/work/tez/current | |
export TEZ_DIST=$TEZ_PREFIX/tez-dist/target/tez-${TEZ_VERSION} | |
export HADOOP_CLASSPATH="$TEZ_DIST/*:$TEZ_DIST/lib/*" | |
export HIVE_PREFIX="/work/hive/current" | |
export HIVE_VERSION=0.15.0 | |
export HIVE_CONF_DIR="/work/hive/current-conf" | |
export HIVE_HOME="$HIVE_PREFIX/packaging/target/apache-hive-${HIVE_VERSION}-SNAPSHOT-bin/apache-hive-${HIVE_VERSION}-SNAPSHOT-bin/" | |
export PATH="$JAVA_HOME/bin:$HADOOP_PREFIX/bin:$HADOOP_PREFIX/sbin:$HIVE_HOME/bin":$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment