You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2015/02/03 00:21:34 UTC

[jira] [Updated] (AMBARI-9437) Document steps to make a Slider 0.70 packaged app to display graphs in Ambari 1.7

     [ 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.

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}
<value>http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics</value>
{noformat}
with
{noformat}
<value>http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond</value>
{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. Leave the value to the property {{site.global.metric_collector_lib}} empty in the file {{appConfig.json}} provided as an argument with Slider create command like this -
{noformat}
    "site.global.metric_collector_lib": ""
{noformat}


  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 work with Ganglia. This is required to be able to display graphs in Ambari 1.7 Slider View and in Ganglia UI of an existing hadoop+ganglia cluster. 

These manual steps needs to be documented in a revision of Ambari 1.7 document once Ambari 2.0 is released.

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}
<value>http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics</value>
{noformat}
with
{noformat}
<value>http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond</value>
{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. Leave the value to the property {{site.global.metric_collector_lib}} empty in the file {{appConfig.json}} provided as an argument with Slider create command like this -
{noformat}
    "site.global.metric_collector_lib": ""
{noformat}



> 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.
> 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}
> <value>http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics</value>
> {noformat}
> with
> {noformat}
> <value>http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond</value>
> {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. Leave the value to the property {{site.global.metric_collector_lib}} empty in the file {{appConfig.json}} provided as an argument with Slider create command like this -
> {noformat}
>     "site.global.metric_collector_lib": ""
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)