[ https://issues.apache.org/jira/browse/HADOOP-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924740#action_12924740 ]
dhruba borthakur commented on HADOOP-6985: ------------------------------------------ +1, the setting of HADOOP_OPTS would have been ignored prior to this patch. > Suggest that HADOOP_OPTS be preserved in hadoop-env.sh.template > --------------------------------------------------------------- > > Key: HADOOP-6985 > URL: https://issues.apache.org/jira/browse/HADOOP-6985 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Ramkumar Vadali > Assignee: Ramkumar Vadali > Priority: Minor > Attachments: HADOOP-6985.patch > > > For an administrator who wants to customize HADOOP_OPTS, it would be better > to have > # if [ "$HADOOP_OPTS" == "" ]; then export HADOOP_OPTS=-server; else FOO+=" > -server"; fi > instead of > # Extra Java runtime options. Empty by default. > # export HADOOP_OPTS=-server -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.