You'll want to start using Ambari 1.7.0, where you can manage the content of the -env.sh file as a configuration in Ambari. That way, your changes are saved and versioned as part of the other Hive configs (and you no longer have to make changes to the file locally).
Browse to Service > Hive > Configs and look for the section on hive-env.sh. 1.7.0 is just in the release vote but you can grab a build using the links on this page: https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide On Sun, Nov 23, 2014 at 5:59 AM, Daniel Haviv <[email protected]> wrote: > Hi, > I'm trying to add TEZ to the classpath by updaing the hive-env.sh in > hive's conf dir but everytime I restart hive via Ambari the file gets > reverted back. > > How can I avoid Ambari running over my changes? > > Thanks, > Daniel > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
