[ 
https://issues.apache.org/jira/browse/AMBARI-18681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nate Cole updated AMBARI-18681:
-------------------------------
    Summary: Add host structured_out to manual task  (was: StackVersionListener 
should check for cluster version)

> Add host structured_out to manual task
> --------------------------------------
>
>                 Key: AMBARI-18681
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18681
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>            Priority: Critical
>             Fix For: 2.5.0
>
>
> For Host Ordered upgrades, add host information and type to the structured 
> out.  The response should contain:
> {noformat}
> "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"
>   }
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to