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

Components in API should have 'category' field

    XMLWordPrintableJSON

Details

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

    Description

      Ambari UI when loading services, loads all host-components to get service specific metrics, which is available only on master host-components. Loading of client/worker host-components is not needed on dashboard and services pages.

      Hence in API we need a type field on host_components. This should indicate whether the host_component is master/worker/client/other type. Also, this field should be query-able.

      So the below query should give me services with their master host-components, and their jvm heap metrics.

      http://162.216.149.155:8080/api/v1/clusters/ga/services?components/host_components/HostRoles/type=master&fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM
      

      Attachments

        1. AMBARI-3604.patch
          119 kB
          Tom Beerbower

        Activity

          People

            tbeerbower Tom Beerbower
            tbeerbower Tom Beerbower
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: