[ 
https://issues.apache.org/jira/browse/AMBARI-3353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779101#comment-13779101
 ] 

Andrew Onischuk commented on AMBARI-3353:
-----------------------------------------

I think the best way here, is to convert the odd bootstrap response, to the 
usual format, so user and our postproccessing functions can work with that w/o 
troubles.

[~subin11], could you review this please?
                
> Ambari-Client Bootstrap fails due to odd status response style
> --------------------------------------------------------------
>
>                 Key: AMBARI-3353
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3353
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.4.1
>
>
> client.bootstrap_hosts fails with exception due to not ordinary response 
> style.
> The usual style is (used for other services):
> {code}
> {"status":"201", "message":"Everything was fine"}
> {code}
> The style boostrap response uses
> {code}
> {"status":"OK","log":"some message"}
> {code}
> {code}
> {"status":"ERROR","log":"some err message"}
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to