YARN-1684. Fixed history server heap size in yarn script. Contributed by Billie Rinaldi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1564193 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
39ecc46ff6
commit
786d71bfb5
|
@ -172,6 +172,9 @@ Release 2.4.0 - UNRELEASED
|
||||||
YARN-1673. Fix option parsing in YARN's application CLI after it is broken
|
YARN-1673. Fix option parsing in YARN's application CLI after it is broken
|
||||||
by YARN-967. (Mayank Bansal via vinodkv)
|
by YARN-967. (Mayank Bansal via vinodkv)
|
||||||
|
|
||||||
|
YARN-1684. Fixed history server heap size in yarn script. (Billie Rinaldi
|
||||||
|
via zjshen)
|
||||||
|
|
||||||
Release 2.3.0 - UNRELEASED
|
Release 2.3.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -204,7 +204,7 @@ elif [ "$COMMAND" = "historyserver" ] ; then
|
||||||
CLASSPATH=${CLASSPATH}:$YARN_CONF_DIR/ahs-config/log4j.properties
|
CLASSPATH=${CLASSPATH}:$YARN_CONF_DIR/ahs-config/log4j.properties
|
||||||
CLASS='org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer'
|
CLASS='org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer'
|
||||||
YARN_OPTS="$YARN_OPTS $YARN_HISTORYSERVER_OPTS"
|
YARN_OPTS="$YARN_OPTS $YARN_HISTORYSERVER_OPTS"
|
||||||
if [ "$YARN_RESOURCEMANAGER_HEAPSIZE" != "" ]; then
|
if [ "$YARN_HISTORYSERVER_HEAPSIZE" != "" ]; then
|
||||||
JAVA_HEAP_MAX="-Xmx""$YARN_HISTORYSERVER_HEAPSIZE""m"
|
JAVA_HEAP_MAX="-Xmx""$YARN_HISTORYSERVER_HEAPSIZE""m"
|
||||||
fi
|
fi
|
||||||
elif [ "$COMMAND" = "nodemanager" ] ; then
|
elif [ "$COMMAND" = "nodemanager" ] ; then
|
||||||
|
|
|
@ -207,7 +207,7 @@ goto :eof
|
||||||
set CLASSPATH=%CLASSPATH%;%YARN_CONF_DIR%\ahs-config\log4j.properties
|
set CLASSPATH=%CLASSPATH%;%YARN_CONF_DIR%\ahs-config\log4j.properties
|
||||||
set CLASS=org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
|
set CLASS=org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryServer
|
||||||
set YARN_OPTS=%YARN_OPTS% %HADOOP_HISTORYSERVER_OPTS%
|
set YARN_OPTS=%YARN_OPTS% %HADOOP_HISTORYSERVER_OPTS%
|
||||||
if defined YARN_RESOURCEMANAGER_HEAPSIZE (
|
if defined YARN_HISTORYSERVER_HEAPSIZE (
|
||||||
set JAVA_HEAP_MAX=-Xmx%YARN_HISTORYSERVER_HEAPSIZE%m
|
set JAVA_HEAP_MAX=-Xmx%YARN_HISTORYSERVER_HEAPSIZE%m
|
||||||
)
|
)
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
Loading…
Reference in New Issue