Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-9437

Document steps to make a Slider 0.70 packaged app to display graphs in Ambari 1.7

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.7.0
    • None
    • ambari-views
    • 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

          Activity

            People

              Unassigned Unassigned
              gsaha Gour Saha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: