HADOOP-10759. Remove hardcoded JAVA_HEAP_MAX. (Eric Yang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1615700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
431857d09d
commit
9ffc4b13c4
|
@ -199,6 +199,8 @@ Trunk (Unreleased)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
|
HADOOP-10759. Remove hardcoded JAVA_HEAP_MAX. (Eric Yang)
|
||||||
|
|
||||||
HADOOP-9451. Fault single-layer config if node group topology is enabled.
|
HADOOP-9451. Fault single-layer config if node group topology is enabled.
|
||||||
(Junping Du via llu)
|
(Junping Du via llu)
|
||||||
|
|
||||||
|
|
|
@ -149,8 +149,6 @@ if [[ -z $JAVA_HOME ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
JAVA=$JAVA_HOME/bin/java
|
JAVA=$JAVA_HOME/bin/java
|
||||||
# some Java parameters
|
|
||||||
JAVA_HEAP_MAX=-Xmx1000m
|
|
||||||
|
|
||||||
# check envvars which might override default args
|
# check envvars which might override default args
|
||||||
if [ "$HADOOP_HEAPSIZE" != "" ]; then
|
if [ "$HADOOP_HEAPSIZE" != "" ]; then
|
||||||
|
|
Loading…
Reference in New Issue