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]<mailto:[email protected]>"
Date: Thursday, October 26, 2017 at 4:10 AM
To: "[email protected]<mailto:[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]<mailto:[email protected]>>:
Hello!

Is it possible to modify cluster-env form service_adviser?

Regards,
Andrey

Reply via email to