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

UI changes for required for MM support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.1
    • ambari-web
    • None

    Description

      UI changes required for MM support.

      • resource_filters should be defined for all custom commands, custom actions (POST requests)
      • operation_level should be added to requests where it is applicable
      • operation_level info should look like:
        {"RequestInfo": {
          "command": "RESTART",
          "context": "Restart components with Stale Configs on vm-0.vm",
          "operation_level": {
            "level": "HOST_COMPONENT",
            "cluster_name": "c1",
            "service_name": "HDFS",
            "hostcomponent_name": "NAMENODE",
            "host_name": "vm-0.vm"
          }
        }, "Requests/resource_filters": [
          {
            "service_name": "GANGLIA",
            "component_name": "GANGLIA_MONITOR",
            "hosts": "vm-0.vm"
          }
        ]}
        
      • Possible values for and operation level are CLUSTER|SERVICE|HOST|HOST_COMPONENT
      • maintenance state is only possible for service, component, host, service component host. Maintenance mode on cluster level will not be available.

      Attachments

        1. AMBARI-5635.patch
          15 kB
          Andriy Babiichuk

        Activity

          People

            ababiichuk Andriy Babiichuk
            ababiichuk Andriy Babiichuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: