HADOOP-9625. HADOOP_OPTS not picked up by hadoop command. Contributed by Paul Han

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1491907 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Arpit Gupta 2013-06-11 19:01:40 +00:00
parent c6c41abf68
commit 59bd35daef
3 changed files with 5 additions and 2 deletions

View File

@ -450,6 +450,9 @@ Release 2.1.0-beta - UNRELEASED
HADOOP-9604. Javadoc of FSDataOutputStream is slightly inaccurate. (Jingguo
Yao via atm)
HADOOP-9625. HADOOP_OPTS not picked up by hadoop command.
(Paul Han via arpit)
OPTIMIZATIONS

View File

@ -43,7 +43,7 @@ if exist %HADOOP_HOME%\contrib\capacity-scheduler (
@rem set HADOOP_NAMENODE_INIT_HEAPSIZE=""
@rem Extra Java runtime options. Empty by default.
@rem set HADOOP_OPTS=-Djava.net.preferIPv4Stack=true
@rem set HADOOP_OPTS=%HADOOP_OPTS% -Djava.net.preferIPv4Stack=true
@rem Command specific options appended to HADOOP_OPTS when specified
if not defined HADOOP_SECURITY_LOGGER (

View File

@ -45,7 +45,7 @@ done
#export HADOOP_NAMENODE_INIT_HEAPSIZE=""
# Extra Java runtime options. Empty by default.
export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true"
export HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true"
MAC_OSX=false
case "`uname`" in