ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3353) Ambari-Client Bootstrap fails due to odd status response style
Date Thu, 26 Sep 2013 19:05:02 GMT

    [ 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

Mime
View raw message