diff --git a/conf/hadoop-env.sh.template b/conf/hadoop-env.sh.template index bba5387669..ce7ccc8909 100644 --- a/conf/hadoop-env.sh.template +++ b/conf/hadoop-env.sh.template @@ -15,7 +15,7 @@ # export HADOOP_HEAPSIZE=2000 # Extra Java runtime options. Empty by default. -# if [ "$HADOOP_OPTS" == "" ]; then export HADOOP_OPTS=-server; else FOO+=" -server"; fi +# if [ "$HADOOP_OPTS" == "" ]; then export HADOOP_OPTS=-server; else HADOOP_OPTS+=" -server"; fi # Command specific options appended to HADOOP_OPTS when specified export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_NAMENODE_OPTS"