Monthly Archives: December 2015

etc/profile

JAVA_HOME=/usr/local/thesis/jvm/jdk_1_8_66/jdk1.8.0_66
PATH=$PATH:$JAVA_HOME/bin
HADOOP_INSTALL=/usr/local/thesis/hadoop/hadoop-2.7.0

# — HADOOP ENVIRONMENT VARIABLES START — #

export HADOOP_HOME=/usr/local/thesis/hadoop/hadoop-2.7.0
export PATH=$PATH:$HADOOP_HOME/bin
export PATH=$PATH:$HADOOP_HOME/sbin
export HADOOP_MAPRED_HOME=$HADOOP_HOME
export HADOOP_COMMON_HOME=$HADOOP_HOME
export HADOOP_HDFS_HOME=$HADOOP_HOME
export YARN_HOME=$HADOOP_HOME
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native

# — HADOOP ENVIRONMENT VARIABLES END — #

PATH=$PATH:$HADOOP_INSTALL/bin

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS=”-Djava.library.path=$HADOOP_HOME/lib”

export SCALA_HOME=/usr/local/thesis/scala/scala-2.11.7
export PATH=$SCALA_HOME/bin:$PATH

export SPARK_HOME=/usr/local/thesis/spark/spark-1.5.2-bin-hadoop2.6
export PATH=$SPARK_HOME/bin:$PATH

export JAVA_HOME
export JRE_HOME
export PATH
export HADOOP_INSTALL