Ticket #29542: patch-hadoop-env.sh.diff
File patch-hadoop-env.sh.diff, 1.3 KB (added by humem (humem), 13 years ago) |
---|
-
conf/hadoop-env.sh
old new 6 6 # remote nodes. 7 7 8 8 # The java implementation to use. Required. 9 # export JAVA_HOME=/usr/lib/j2sdk1.5-sun 9 export JAVA_HOME=@java_home@ 10 11 # Extra Java options. 12 export JAVA_OPTS="-Dfile.encoding=UTF-8 $JAVA_OPTS" 10 13 11 14 # Extra Java CLASSPATH elements. Optional. 12 15 # export HADOOP_CLASSPATH= 13 16 14 17 # The maximum amount of heap to use, in MB. Default is 1000. 15 #export HADOOP_HEAPSIZE=200018 export HADOOP_HEAPSIZE=2000 16 19 17 20 # Extra Java runtime options. Empty by default. 18 21 # export HADOOP_OPTS=-server … … 31 34 # export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR" 32 35 33 36 # Where log files are stored. $HADOOP_HOME/logs by default. 34 # export HADOOP_LOG_DIR=${HADOOP_HOME}/logs 37 export HADOOP_LOG_DIR=@hadoop_log_dir@ 35 38 36 39 # File naming remote slave hosts. $HADOOP_HOME/conf/slaves by default. 37 40 # export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves … … 45 48 # export HADOOP_SLAVE_SLEEP=0.1 46 49 47 50 # The directory where pid files are stored. /tmp by default. 48 # export HADOOP_PID_DIR=/var/hadoop/pids 51 export HADOOP_PID_DIR=@hadoop_pid_dir@ 49 52 50 53 # A string representing this instance of hadoop. $USER by default. 51 54 # export HADOOP_IDENT_STRING=$USER