Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 602D011924 for ; Thu, 11 Sep 2014 14:38:34 +0000 (UTC) Received: (qmail 98014 invoked by uid 500); 11 Sep 2014 14:38:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 97984 invoked by uid 500); 11 Sep 2014 14:38:34 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 97972 invoked by uid 99); 11 Sep 2014 14:38:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 14:38:34 +0000 Date: Thu, 11 Sep 2014 14:38:34 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-7258) Slider View: FE - Make ganglia monitoring optional when creating app MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-7258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130093#comment-14130093 ] Andrii Tkach commented on AMBARI-7258: -------------------------------------- committed to trunk > Slider View: FE - Make ganglia monitoring optional when creating app > -------------------------------------------------------------------- > > Key: AMBARI-7258 > URL: https://issues.apache.org/jira/browse/AMBARI-7258 > Project: Ambari > Issue Type: Task > Components: ambari-views > Affects Versions: 1.7.0 > Reporter: Andrii Tkach > Assignee: Andrii Tkach > Fix For: 1.7.0 > > Attachments: AMBARI-7258.patch, Screen Shot 2014-09-02 at 6.38.02 PM.png, Screen Shot 2014-09-02 at 6.38.15 PM.png > > > When creating a Slider app via the wizard, in the Global configs section we currently have 3 Ganglia properties which always set Ganglia configs. We need to provide option to user whether he wants monitoring or not. > We should add a _Enable Metrics_ checkbox in configs, which by default is unchecked (no metrics). When user proceeds, all 3 Ganglia configs are not set for the app, and hence, no metrics/graphs should be shown for the app. > If user checks that checkbox, then the 3 Ganglia configs show up. The > {{ganglia_server_id}} config should be a drop-down, and {{ganglia_server_port}} should be a read-only config. > The drop-down should get its values from {{ganglia_custom_clusters}} config of {{ganglia-env}} of Ambari-server. {{ganglia_custom_clusters}} config will have CSV like below in pairs - {code}"name1","port1","name2","port2",...{code} > {code} > "HBaseCluster1","7000","AccumuloCluster1", "7001","HBaseCluster2","7002" > {code} > The drop-down will show all the _ganglia_clusters_, and as user changes selection, it will update the {{ganglia_server_port}} config value. User should not directly change {{ganglia_server_port}}, only by selecting a cluster in the combo-box. > If user enables the checkbox and creates app, then metric graphs should be shown for that app. Whether metric graphs are shown or not depends on {{ganglia_server_host}} config being available for that app. -- This message was sent by Atlassian JIRA (v6.3.4#6332)