Details
-
Documentation
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.7.0
-
None
-
None
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
<value>http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics</value>
with
<value>http://${site.global.metric_collector_host}/cgi-bin/rrd.py?c=gsgmond</value>
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.
Attachments
Issue Links
- is related to
-
SLIDER-769 Modify Slider app packages for seamless integration with AMS provider (Ambari Metrics Service)
- Resolved
-
AMBARI-9386 Slider View UI should not allow configuring ganglia and instead provide support for configuring for AMS
- Resolved