Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CFC8A200BA4 for ; Sat, 1 Oct 2016 02:44:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE54C160AE5; Sat, 1 Oct 2016 00:44:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB232160AD9 for ; Sat, 1 Oct 2016 02:44:00 +0200 (CEST) Received: (qmail 85984 invoked by uid 500); 1 Oct 2016 00:43:59 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 85974 invoked by uid 99); 1 Oct 2016 00:43:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Oct 2016 00:43:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 78F23C0C0D for ; Sat, 1 Oct 2016 00:43:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.798 X-Spam-Level: ** X-Spam-Status: No, score=2.798 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.499, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id WEAHwFV61PAQ for ; Sat, 1 Oct 2016 00:43:57 +0000 (UTC) Received: from relayvx11b.securemail.intermedia.net (relayvx11b.securemail.intermedia.net [64.78.52.184]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5E8A55FB68 for ; Sat, 1 Oct 2016 00:43:56 +0000 (UTC) Received: from emg-ca-1-1.securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-1.localdomain (Postfix) with ESMTPS id 26BCA53F0E; Fri, 30 Sep 2016 17:43:49 -0700 (PDT) Subject: Re: Debugging Enhanced Config MIME-Version: 1.0 x-echoworx-msg-id: 7d94f4af-e75a-4d2d-a9a0-6adde808e51f x-echoworx-emg-received: Fri, 30 Sep 2016 17:43:49.025 -0700 x-echoworx-message-code-hashed: 872609d50fbe9c412fcc6d6142bacd80d073a74c0356760179c973b6e2ac3ab0 x-echoworx-action: delivered Received: from 10.254.155.14 ([10.254.155.14]) by emg-ca-1-1 (JAMES SMTP Server 2.3.2) with SMTP ID 187; Fri, 30 Sep 2016 17:43:49 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-1.localdomain (Postfix) with ESMTPS id C875953F0E; Fri, 30 Sep 2016 17:43:48 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 30 Sep 2016 17:43:47 -0700 Received: from MBX080-W4-CO-1.exch080.serverpod.net ([10.224.117.101]) by mbx080-w4-co-1.exch080.serverpod.net ([10.224.117.101]) with mapi id 15.00.1178.000; Fri, 30 Sep 2016 17:43:47 -0700 From: Jaimin Jetly To: "steve.varnau@esgyn.com" , "user@ambari.apache.org" Thread-Topic: Debugging Enhanced Config Thread-Index: AdIbUGOLC+J21UlwRumzqBO1YxdkkgAFUqup Date: Sat, 1 Oct 2016 00:43:46 +0000 Message-ID: <1475282627288.66079@hortonworks.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [69.181.7.60] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_147528262728866079hortonworkscom_" archived-at: Sat, 01 Oct 2016 00:44:02 -0000 --_000_147528262728866079hortonworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Steve, you will need to look into the themes API being exposed from stacks endpoin= t 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 nav= igating to the service's enhanced config page needs to be debugged. ? Is it possible for you to share your original MPack or any different versio= n of MPack where you are hitting this issue ? -- Thanks Jaimin ________________________________ From: Steve Varnau Sent: Friday, September 30, 2016 12:34 PM To: user@ambari.apache.org Subject: Debugging Enhanced Config Hi, I am working on plugging an MPack into Ambari and that is working well. I a= lso want to use enhanced configuration. The symptom I'm seeing is that the new "Settings" tab shows up for my servi= ce, but it is greyed out and hovering shows the message "No properties to d= isplay". No config filters are on, so I should be seeing something there. I've checked the ambari-server.log, but found nothing, so I don't think the= re 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 prop= erties specified are not showing up on the Advanced tab. I think the confi= guration xml is in pretty good shape, since when I remove properties from t= heme.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 s= ingle section/subsection with a single property with a simple text-field wi= dget, but no luck. Is there some method I can use to debug my enhanced config set-up? --Steve --_000_147528262728866079hortonworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi Steve,


you will need to look into the themes API being exposed from stacks endp= oint 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 dif= ferent version of MPack where you are hitting this issue ?


-- Thanks

    Jaimin


From: Steve Varnau <stev= e.varnau@esgyn.com>
Sent: Friday, September 30, 2016 12:34 PM
To: user@ambari.apache.org
Subject: Debugging Enhanced Config
 

Hi,

 

I am working on plugging an MPack into Ambari and th= at 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 hover= ing shows the message “No properties to display”.  No conf= ig filters are on, so I should be seeing something there.

 

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 t= he tab shows up, and the properties specified are not showing up on the Adv= anced tab.  I think the configuration xml is in pretty good shape, sin= ce 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 poss= ible, just trying to show a single section/subsection with a single propert= y with a simple text-field widget, but no luck.

 

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

 

--Steve

 

--_000_147528262728866079hortonworkscom_--