[ https://issues.apache.org/jira/browse/HADOOP-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155995#comment-13155995 ]
Giridharan Kesavan commented on HADOOP-7849: -------------------------------------------- hadoop-env.sh which is already present is supposed to be active and the new hadoop-env.sh installed with the rpm is supposed to be installed as .rpmsave file. From the previous comment I think that is what has happened. In this case the active hadoop-env.sh (old hadoop-env.sh) is updated. Reason for the updated hadoop-evn.sh is that ; template_generator is getting called as part of the rpm installation which re-generates hadoop-env.sh again. this is by design. > hadoop rpm overwrites the existing /etc/hadoop/hadoop-env.sh > ------------------------------------------------------------ > > Key: HADOOP-7849 > URL: https://issues.apache.org/jira/browse/HADOOP-7849 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Arpit Gupta > Assignee: Giridharan Kesavan > > The following steps were used to deploy > 1. Create /etc/hadoop dir > 2. create a file hadoop-env.sh in the above dir > 3. install the hadoop rpm (rpm -ivh hadoop-0.20.205.0-1.amd64.rpm) > The following console output is displayed > Preparing... ########################################### [100%] > 1:hadoop warning: /etc/hadoop/hadoop-env.sh created as > /etc/hadoop/hadoop-env.sh.rpmnew > ########################################### [100%] > After the install open up the /etc/hadoop/hadoop-env.sh and notice that the > file has been replaced. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira