ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gour Saha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9437) Document steps to make a Slider 0.70 packaged app to display graphs in Ambari 1.7
Date Sat, 07 Feb 2015 00:13:35 GMT

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

  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.

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



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

Mime
View raw message