source: trunk/dports/java/hadoop/files/patch-conf-hadoop-env.sh.diff @ 109655

Last change on this file since 109655 was 109655, checked in by hum@…, 7 years ago

hadoop: update to 1.2.1.

File size: 1.4 KB
  • 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
     
    4851# NOTE: this should be set to a directory that can only be written to by
    4952#       the users that are going to run the hadoop daemons.  Otherwise there is
    5053#       the potential for a symlink attack.
    51 # export HADOOP_PID_DIR=/var/hadoop/pids
     54export HADOOP_PID_DIR=@hadoop_pid_dir@
    5255
    5356# A string representing this instance of hadoop. $USER by default.
    5457# export HADOOP_IDENT_STRING=$USER
Note: See TracBrowser for help on using the repository browser.