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

Optimize query call for retrieving host information

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment