aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 10:45:45 +0100
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-05-20 10:45:45 +0100
commit3aea9a8cf77fa83fcd9f4ce653e87b7097e4c262 (patch)
tree42ab2b61e547278abdafaa307c89cf1ee64472bb
parent8ed834adc6faa4900fac1c590a336c520149a8e4 (diff)
downloadopenjdk8-hadoop-LCA14-3aea9a8cf77fa83fcd9f4ce653e87b7097e4c262.tar.gz
Remove forced usage of -server when starting hdfs
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rwxr-xr-xaarch64/bin/hdfs2
-rwxr-xr-xx86_64/bin/hdfs2
2 files changed, 2 insertions, 2 deletions
diff --git a/aarch64/bin/hdfs b/aarch64/bin/hdfs
index 24bb11f..118f8db 100755
--- a/aarch64/bin/hdfs
+++ b/aarch64/bin/hdfs
@@ -114,7 +114,7 @@ elif [ "$COMMAND" = "datanode" ] ; then
if [ "$starting_secure_dn" = "true" ]; then
HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
else
- HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
+ HADOOP_OPTS="$HADOOP_OPTS $HADOOP_DATANODE_OPTS"
fi
elif [ "$COMMAND" = "journalnode" ] ; then
CLASS='org.apache.hadoop.hdfs.qjournal.server.JournalNode'
diff --git a/x86_64/bin/hdfs b/x86_64/bin/hdfs
index 24bb11f..118f8db 100755
--- a/x86_64/bin/hdfs
+++ b/x86_64/bin/hdfs
@@ -114,7 +114,7 @@ elif [ "$COMMAND" = "datanode" ] ; then
if [ "$starting_secure_dn" = "true" ]; then
HADOOP_OPTS="$HADOOP_OPTS -jvm server $HADOOP_DATANODE_OPTS"
else
- HADOOP_OPTS="$HADOOP_OPTS -server $HADOOP_DATANODE_OPTS"
+ HADOOP_OPTS="$HADOOP_OPTS $HADOOP_DATANODE_OPTS"
fi
elif [ "$COMMAND" = "journalnode" ] ; then
CLASS='org.apache.hadoop.hdfs.qjournal.server.JournalNode'