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

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

hadoop: fix to build libraries; rename patchfiles; support universal build; see #35902 comment:6.

File size: 1.3 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
     
    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
Note: See TracBrowser for help on using the repository browser.