Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How Do I Disable Custom Config Section for a Service in Ambari?

avatar
Super Collaborator

I created a custom service with config files. How do I disable the Custom config section for that config file in Ambari?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

I was told that to avoid users from being able to append custom configurations to a config file supports_adding_forbidden can be added to configuration tag like so:

<configuration supports_final="true" supports_adding_forbidden="true"> ... </configuration>

View solution in original post

4 REPLIES 4

avatar
Master Mentor

If i understand your question correctly, there is a drop down between default config and custom config. There's also an override toggle next to custom properties.

avatar

When you created a new service, was Custom config section created by default?

As per Cwiki we have to create the configs locally.

avatar
Super Collaborator

Thank you for pointing me to that documentation. That helped me with something else.

avatar
Super Collaborator

I was told that to avoid users from being able to append custom configurations to a config file supports_adding_forbidden can be added to configuration tag like so:

<configuration supports_final="true" supports_adding_forbidden="true"> ... </configuration>