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

Add host structured_out to manual task

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.5.0
    • ambari-server
    • None

    Description

      For Host Ordered upgrades, add host information and type to the structured out. The response should contain:

      "Tasks": {
        "attempt_cnt": 1,
        "cluster_name": "c1",
        "command": "EXECUTE",
        "command_detail": "All services have been stopped on c6401.ambari.apache.org. Please prepare the new host and then proceed.",
        "custom_command_name": "org.apache.ambari.server.serveraction.upgrades.ManualStageAction",
        "role": "AMBARI_SERVER_ACTION",
        ...
        "status": "HOLDING",
        "stderr": "",
        "stdout": "",
        "structured_out": {
          "type": "HOST_PREPARE"
          "host": "c6401.ambari.apache.org"
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              t-dule Duc Anh Le
              ncole@hortonworks.com Nate Cole
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: