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 A48EE172FB for ; Sat, 7 Feb 2015 00:26:34 +0000 (UTC) Received: (qmail 31805 invoked by uid 500); 7 Feb 2015 00:26:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 31765 invoked by uid 500); 7 Feb 2015 00:26: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 31743 invoked by uid 99); 7 Feb 2015 00:26:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Feb 2015 00:26:34 +0000 Date: Sat, 7 Feb 2015 00:26:34 +0000 (UTC) From: "Gour Saha (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-9437) Document steps to make a Slider 0.70 packaged app to display graphs in Ambari 1.7 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-9437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gour Saha updated AMBARI-9437: ------------------------------ Description: Slider app packages have been modified in v0.70 to align with AMS (Ambari Metrics Service) being shipped with Ambari 2.0. As a result of these changes, some manual steps will be required in the Slider v0.70 packages to make them align with Ganglia. This is required to be able to display graphs in Ambari 1.7 Slider View. These manual steps needs to be documented in a revision of Ambari 1.7 document once Ambari 2.0 is released. I guess this documentation is required even for Ambari 2.0 if HDP 2.2 Documentation steps: 1. Unzip slider app package (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip) 2. Rename file {{timeline_metrics.json}} to {{ganglia_metrics.json}} 3. Modify file {{metainfo.xml}} and replace the following line {noformat} http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics {noformat} with {noformat} http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond {noformat} 4. Discard the previous package and repackage all files (with the above changes) to a new zip file of the same name (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip). Ensure the contents are packaged in the same manner as it was packaged in the original zip. Note, that when unzipped the contents were not created under any directory like slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2. 5. Ensure the new app package is dropped in the folder where Ambari expects (/var/lib/ambari-server/resources/apps) and restart ambari-server for the new package to be reloaded. 6. During "Create App" leave the value of the property {{global.metric_collector_lib}} empty. Specify the value of properties {{global.metric_collector_host}} and {{global.metric_collector_port}} appropriately to where the ganglia monitor is running. was: Slider app packages have been modified in v0.70 to align with AMS (Ambari Metrics Service) being shipped with Ambari 2.0. As a result of these changes, some manual steps will be required in the Slider v0.70 packages to make them align with Ganglia. This is required to be able to display graphs in Ambari 1.7 Slider View. These manual steps needs to be documented in a revision of Ambari 1.7 document once Ambari 2.0 is released. I guess this documentation is required even for Ambari 2.0 if HDP 2.2 Documentation steps: 1. Unzip slider app package (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip) 2. Rename file {{timeline_metrics.json}} to {{ganglia_metrics.json}} 3. Modify file {{metainfo.xml}} and replace the following line {noformat} http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics {noformat} with {noformat} http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond {noformat} 4. Discard the previous package and repackage all files (with the above changes) to a new zip file of the same name (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip) 5. Ensure the new app package is dropped in the folder where Ambari expects (/var/lib/ambari-server/resources/apps) and restart ambari-server for the new package to be reloaded. 6. During "Create App" leave the value of the property {{site.global.metric_collector_lib}} empty. Specify the value of properties {{global.metric_collector_host}} > Document steps to make a Slider 0.70 packaged app to display graphs in Ambari 1.7 > --------------------------------------------------------------------------------- > > Key: AMBARI-9437 > URL: https://issues.apache.org/jira/browse/AMBARI-9437 > Project: Ambari > Issue Type: Documentation > Components: ambari-views > Affects Versions: 1.7.0 > Reporter: Gour Saha > Priority: Minor > > Slider app packages have been modified in v0.70 to align with AMS (Ambari Metrics Service) being shipped with Ambari 2.0. > As a result of these changes, some manual steps will be required in the Slider v0.70 packages to make them align with Ganglia. This is required to be able to display graphs in Ambari 1.7 Slider View. > These manual steps needs to be documented in a revision of Ambari 1.7 document once Ambari 2.0 is released. I guess this documentation is required even for Ambari 2.0 if HDP 2.2 > Documentation steps: > 1. Unzip slider app package (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip) > 2. Rename file {{timeline_metrics.json}} to {{ganglia_metrics.json}} > 3. Modify file {{metainfo.xml}} and replace the following line > {noformat} > http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics > {noformat} > with > {noformat} > http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond > {noformat} > 4. Discard the previous package and repackage all files (with the above changes) to a new zip file of the same name (e.g. slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2.zip). Ensure the contents are packaged in the same manner as it was packaged in the original zip. Note, that when unzipped the contents were not created under any directory like slider-hbase-app-package-0.98.4.2.2.0.0-2041-hadoop2. > 5. Ensure the new app package is dropped in the folder where Ambari expects (/var/lib/ambari-server/resources/apps) and restart ambari-server for the new package to be reloaded. > 6. During "Create App" leave the value of the property {{global.metric_collector_lib}} empty. Specify the value of properties {{global.metric_collector_host}} and {{global.metric_collector_port}} appropriately to where the ganglia monitor is running. -- This message was sent by Atlassian JIRA (v6.3.4#6332)