Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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>