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

Ambari's App Timeline Web UI Alert tries make http heavy call timelineserver:httpPort which can also cause OOM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.2.2
    • stacks
    • None

    Description

      Ambari's App Timeline Web UI Alert tries make http heavy call timelineserver:httpPort which can also cause OOM

      Hit this issue while testing ATS v1.5 on 32 node cluster under load was going OOM, we discovered there are instance where <ATSHost:webPort> is being hit.

      Looks like Ambari's App Timeline Web UI alerting system is trying call it
      As from Ambari Alerts we can see error like "Connection failed to http://ATS_HOST:8188 (timed out)"

      Now If we try hit http://<ATSHost>:<webappPort>, by default It load http://<ATSHost>:<webappPort>/applicationhistory
      e.g. Accessing http://ATS_HOST:8188 will try to access http:/ATS_HOST:8188/applicationhistory page.
      If cluster has AHS/GHS enabled (under ATS), then this call result heavy html containing large of application.

      We can make alert to access some lightweight call like: http://<ATSHost>:<webappPort>/applicationhistory/about, or http://<ATSHost>:<webappPort>/ws/v1/timeline
      e.g. http://ATS_HOST:8188/applicationhistory/about
      or
      http://ATS_HOST:8188/ws/v1/timeline

      Attachments

        1. AMBARI-15123.patch
          1.0 kB
          Sumit Mohanty

        Issue Links

          Activity

            People

              sumitmohanty Sumit Mohanty
              sumitmohanty Sumit Mohanty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: