ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Varnau <>
Subject RE: Debugging Enhanced Config
Date Tue, 04 Oct 2016 23:36:09 GMT

Thanks for that tip.  When I got back to debugging this and queried my
configs and theme via the API, I found that it was missing the placement
section.  Turns out I had made the “placement” keyword plural to match
widgets and layouts. So with incorrect keyword, the entire section of my
json file was ignored.



*From:* Jaimin Jetly []
*Sent:* Friday, September 30, 2016 5:44 PM
*Subject:* Re: Debugging Enhanced Config

Hi Steve,

you will need to look into the themes API being exposed from stacks
endpoint to confirm that whatever theme.json looks is being exposed via API.

If API is returning information as expected then JS code that acts when
navigating to the service's enhanced config page needs to be debugged.


Is it possible for you to share your original MPack or any different
version of MPack where you are hitting this issue ?

-- Thanks


*From:* Steve Varnau <>
*Sent:* Friday, September 30, 2016 12:34 PM
*Subject:* Debugging Enhanced Config


I am working on plugging an MPack into Ambari and that is working well. I
also want to use enhanced configuration.

The symptom I’m seeing is that the new “Settings” tab shows up for my
service, but it is greyed out and hovering shows the message “No properties
to display”.  No config filters are on, so I should be seeing something

I’ve checked the ambari-server.log, but found nothing, so I don’t think
there is a syntax error or unmatched brace in the theme.json file.

I’m sure it is reading the theme file, since the tab shows up, and the
properties specified are not showing up on the Advanced tab.  I think the
configuration xml is in pretty good shape, since when I remove properties
from theme.json, they show up fine in the Advanced tab.

I’ve tried to make the theme as simple as possible, just trying to show a
single section/subsection with a single property with a simple text-field
widget, but no luck.

Is there some method I can use to debug my enhanced config set-up?


View raw message