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:
parent
c6c41abf68
commit
59bd35daef
|
@ -450,6 +450,9 @@ Release 2.1.0-beta - UNRELEASED
|
||||||
|
|
||||||
HADOOP-9604. Javadoc of FSDataOutputStream is slightly inaccurate. (Jingguo
|
HADOOP-9604. Javadoc of FSDataOutputStream is slightly inaccurate. (Jingguo
|
||||||
Yao via atm)
|
Yao via atm)
|
||||||
|
|
||||||
|
HADOOP-9625. HADOOP_OPTS not picked up by hadoop command.
|
||||||
|
(Paul Han via arpit)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ if exist %HADOOP_HOME%\contrib\capacity-scheduler (
|
||||||
@rem set HADOOP_NAMENODE_INIT_HEAPSIZE=""
|
@rem set HADOOP_NAMENODE_INIT_HEAPSIZE=""
|
||||||
|
|
||||||
@rem Extra Java runtime options. Empty by default.
|
@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
|
@rem Command specific options appended to HADOOP_OPTS when specified
|
||||||
if not defined HADOOP_SECURITY_LOGGER (
|
if not defined HADOOP_SECURITY_LOGGER (
|
||||||
|
|
|
@ -45,7 +45,7 @@ done
|
||||||
#export HADOOP_NAMENODE_INIT_HEAPSIZE=""
|
#export HADOOP_NAMENODE_INIT_HEAPSIZE=""
|
||||||
|
|
||||||
# Extra Java runtime options. Empty by default.
|
# 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
|
MAC_OSX=false
|
||||||
case "`uname`" in
|
case "`uname`" in
|
||||||
|
|
Loading…
Reference in New Issue