hadoop/hadoop-layout.sh
2016-06-13 07:12:36 +02:00

30 lines
1.1 KiB
Bash

export HADOOP_PREFIX=/usr
export HADOOP_COMMON_HOME=/usr
export HADOOP_COMMON_DIR=share/hadoop/common
export HADOOP_COMMON_LIB_JARS_DIR=share/hadoop/common/lib
export HADOOP_COMMON_LIB_NATIVE_DIR=lib/hadoop
export HADOOP_CONF_DIR=/etc/hadoop
export HADOOP_LIBEXEC_DIR=/usr/libexec
export HADOOP_HDFS_HOME=$HADOOP_PREFIX
export HDFS_DIR=share/hadoop/hdfs
export HDFS_LIB_JARS_DIR=share/hadoop/hadoop/lib
export HADOOP_PID_DIR=/var/run/hadoop-hdfs
export HADOOP_LOG_DIR=/var/log/hadoop-hdfs
export HADOOP_IDENT_STRING=hdfs
export HADOOP_YARN_HOME=$HADOOP_PREFIX
export YARN_DIR=share/hadoop/yarn
export YARN_LIB_JARS_DIR=share/hadoop/yarn/lib
export YARN_PID_DIR=/var/run/hadoop-yarn
export YARN_LOG_DIR=/var/log/hadoop-yarn
export YARN_CONF_DIR=/etc/hadoop
export YARN_IDENT_STRING=yarn
export HADOOP_MAPRED_HOME=$HADOOP_PREFIX
export MAPRED_DIR=share/hadoop/mapreduce
export MAPRED_LIB_JARS_DIR=share/hadoop/mapreduce/lib
export HADOOP_MAPRED_PID_DIR=/var/run/hadoop-mapreduce
export HADOOP_MAPRED_LOG_DIR=/var/log/hadoop-mapreduce
export HADOOP_MAPRED_IDENT_STRING=mapred