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

Optimize query call for retrieving host information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.2
    • ambari-web
    • None

    Description

      Every 15 seconds, Ambari Web makes a call to retrieve information about all hosts in the cluster. With 400+ nodes, this call retrieves about 10MB of info, since the API returns last_agent_env, which is host check results used during bootstrap and makes the payload huge.
      By optimizing the query string for this API call, we can cut down on the payload by more than 90%.

      Attachments

        1. AMBARI-1460.patch
          2 kB
          Yusaku Sako
        2. AMBARI-1460-2.patch
          2 kB
          Yusaku Sako

        Activity

          People

            u39kun Yusaku Sako
            u39kun Yusaku Sako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: