[ https://issues.apache.org/jira/browse/HADOOP-6985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924693#action_12924693 ]
Doug Cutting commented on HADOOP-6985: -------------------------------------- This looks reasonable to me. It's arguably not back-compatible, since settings of HADOOP_OPTS would previously be ignored. Does that concern anyone? If not, I'll commit this. > 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 > 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.