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  
    66# remote nodes.
    77
    88# The java implementation to use.  Required.
    9 # export JAVA_HOME=/usr/lib/j2sdk1.5-sun
     9export JAVA_HOME=@java_home@
     10
     11# Extra Java options.
     12export JAVA_OPTS="-Dfile.encoding=UTF-8 $JAVA_OPTS"
    1013
    1114# Extra Java CLASSPATH elements.  Optional.
    1215# export HADOOP_CLASSPATH=
    1316
    1417# The maximum amount of heap to use, in MB. Default is 1000.
    15 # export HADOOP_HEAPSIZE=2000
     18export HADOOP_HEAPSIZE=2000
    1619
    1720# Extra Java runtime options.  Empty by default.
    1821# export HADOOP_OPTS=-server
     
    3134# export HADOOP_SSH_OPTS="-o ConnectTimeout=1 -o SendEnv=HADOOP_CONF_DIR"
    3235
    3336# Where log files are stored.  $HADOOP_HOME/logs by default.
    34 # export HADOOP_LOG_DIR=${HADOOP_HOME}/logs
     37export HADOOP_LOG_DIR=@hadoop_log_dir@
    3538
    3639# File naming remote slave hosts.  $HADOOP_HOME/conf/slaves by default.
    3740# export HADOOP_SLAVES=${HADOOP_HOME}/conf/slaves
     
    4548# export HADOOP_SLAVE_SLEEP=0.1
    4649
    4750# The directory where pid files are stored. /tmp by default.
    48 # export HADOOP_PID_DIR=/var/hadoop/pids
     51export HADOOP_PID_DIR=@hadoop_pid_dir@
    4952
    5053# A string representing this instance of hadoop. $USER by default.
    5154# export HADOOP_IDENT_STRING=$USER