aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 10:43:53 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 10:43:53 +0100
commit8ed834adc6faa4900fac1c590a336c520149a8e4 (patch)
tree5630e37a5d8b2bc4f58d987eabd6a0885f02ccd4
parent0cb20b5b3cb8dfa1ca682fe0096f733233ef1662 (diff)
downloadopenjdk8-hadoop-LCA14-8ed834adc6faa4900fac1c590a336c520149a8e4.tar.gz
Remove forced usage of -server when starting yarn
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rwxr-xr-xaarch64/bin/yarn2
-rwxr-xr-xx86_64/bin/yarn2
2 files changed, 2 insertions, 2 deletions
diff --git a/aarch64/bin/yarn b/aarch64/bin/yarn
index 8d907be..03936f8 100755
--- a/aarch64/bin/yarn
+++ b/aarch64/bin/yarn
@@ -193,7 +193,7 @@ elif [ "$COMMAND" = "resourcemanager" ] ; then
elif [ "$COMMAND" = "nodemanager" ] ; then
CLASSPATH=${CLASSPATH}:$YARN_CONF_DIR/nm-config/log4j.properties
CLASS='org.apache.hadoop.yarn.server.nodemanager.NodeManager'
- YARN_OPTS="$YARN_OPTS -server $YARN_NODEMANAGER_OPTS"
+ YARN_OPTS="$YARN_OPTS $YARN_NODEMANAGER_OPTS"
if [ "$YARN_NODEMANAGER_HEAPSIZE" != "" ]; then
JAVA_HEAP_MAX="-Xmx""$YARN_NODEMANAGER_HEAPSIZE""m"
fi
diff --git a/x86_64/bin/yarn b/x86_64/bin/yarn
index 8d907be..03936f8 100755
--- a/x86_64/bin/yarn
+++ b/x86_64/bin/yarn
@@ -193,7 +193,7 @@ elif [ "$COMMAND" = "resourcemanager" ] ; then
elif [ "$COMMAND" = "nodemanager" ] ; then
CLASSPATH=${CLASSPATH}:$YARN_CONF_DIR/nm-config/log4j.properties
CLASS='org.apache.hadoop.yarn.server.nodemanager.NodeManager'
- YARN_OPTS="$YARN_OPTS -server $YARN_NODEMANAGER_OPTS"
+ YARN_OPTS="$YARN_OPTS $YARN_NODEMANAGER_OPTS"
if [ "$YARN_NODEMANAGER_HEAPSIZE" != "" ]; then
JAVA_HEAP_MAX="-Xmx""$YARN_NODEMANAGER_HEAPSIZE""m"
fi