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

the interface to get serviceInfo is too slow

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.3
    • ambari-server, 2.7.3
    • ambari-server
    • None

    Description

      now, we use Ambari to manage more than 3000 hosts, 20+ Components. we found that, the interface "http://ip:port/api/v1/clusters/TL0/services?fields=ServiceInfo/state,ServiceInfo/maintenance_state,ServiceInfo/desired_repository_version_id,components/ServiceComponentInfo/component_name&minimal_response=true&_=1572316944944" is too slow, it will cost about 1.5mins every request.

      This interface is requested every time the UI is refreshed. For example, after modifying the configuration, exiting the add service interface, etc., this interface will be requested.

      the installed Ambari version is release-2.7.3

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chenjian2664 Chenjian
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m