Hi Swapan!

Thank you for your answer.

I'd like to use ranger plugins for hdfs,hive and etc in my service.
That's why i need to set enable_external_ranger = true in cluster-env.
Without this properity I can't see ranger plugin configs and can't update
them. (for example ranger-hdfs-audit.)
I need to ebable this in service_adviser, so I can recommend changes to
this configs.

May be you can advise me another solution?

Regards,
Andrey




2017-10-26 21:09 GMT+03:00 Swapan Shridhar <[email protected]>:

>
> Hi Markovich,
>
> There is no way of changing 'cluster-env' from stack-advisor (SA) or
> service_advisor.
>
> cluster-env is passed as
> *services['configurations']['cluster-env']['properties']* to SA, but even
> if we update value in stack-advisor, it will never get propagated finally.
>
> *Can you explain on why you would like to have a config related to a
> customer service in cluster-env and not in the service's site itself ? *
>
> Further cluster-env can be changed using (for reference) :
>
>
> *==============================================================================================================================================*
> *Eg:* /var/lib/ambari-server/resources/scripts/configs.py -a set -l
> localhost -n c1 -c cluster-env -k "recovery_retry_interval" -v "10"
>
> *Ref:* /var/lib/ambari-server/resources/scripts/configs.py -a <ACTION> -l
> <HOSTNAME> -n <CLUSTER_NAME> -c <CONFIG_TYPE> -k "<CONFIG_NAME>" -v
> "<CONFIG_VALUE>"
>
> *URL:* https://cwiki.apache.org/confluence/display/AMBARI/
> Modify+configurations
>
> *==============================================================================================================================================*
>
> Thanks.
>
> Regards,
> Swapan.
>
>
> From: Markovich
> Reply-To: "[email protected]"
> Date: Thursday, October 26, 2017 at 4:10 AM
> To: "[email protected]"
> Subject: Re: How to change cluster-env from stack_adviser or
> service_adviser
>
> Any help?
>
> How can I change cluster-env propertie for my custom service?
>
> Regards,
> Andrey
>
> 2017-10-21 22:48 GMT+03:00 Markovich <[email protected]>:
>
>> Hello!
>>
>> Is it possible to modify cluster-env form service_adviser?
>>
>> Regards,
>> Andrey
>>
>
>

Reply via email to