You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Daniel Haviv <da...@gmail.com> on 2014/11/23 11:59:27 UTC

Hive Restart via ambari runs over changes made to hive-env.sh

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

Re: Hive Restart via ambari runs over changes made to hive-env.sh

Posted by Daniel Haviv <da...@gmail.com>.
That's _what_ I did.

Thank you

On Sun, Nov 23, 2014 at 4:55 PM, Daniel Haviv <da...@gmail.com> wrote:

> That's why I did.
>
> Thank you
>
> On Sun, Nov 23, 2014 at 4:07 PM, Jeff Sposetti <je...@hortonworks.com>
> wrote:
>
>> 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 <da...@gmail.com>
>> 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.
>
>
>

Re: Hive Restart via ambari runs over changes made to hive-env.sh

Posted by Daniel Haviv <da...@gmail.com>.
That's why I did.

Thank you

On Sun, Nov 23, 2014 at 4:07 PM, Jeff Sposetti <je...@hortonworks.com> wrote:

> 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 <da...@gmail.com>
> 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.

Re: Hive Restart via ambari runs over changes made to hive-env.sh

Posted by Jeff Sposetti <je...@hortonworks.com>.
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 <da...@gmail.com> 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.