ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markovich <amriv...@gmail.com>
Subject How to force config changes to base services (HDFS) from custom service advisor?
Date Fri, 10 Nov 2017 15:08:35 GMT
Hello Ambari users!

Please guide me how to make ambari change other services configuration from
service advisor?


For example:

I've got myService and I have config useHDFS which can be true or false.
When user sets this config to true I need to recommend configuration for
HDFS, which I'm doing in service_advisor using:
putHdfsSiteProperty = self.putProperty(configurations, "hdfs-site",
services)
When user sets this config to false, I need to delete my custom propertie
form Hdfs-site.
But Ambari ignoring this operations...

Regards,
Andrey

Mime
View raw message