You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2013/09/26 21:05:02 UTC
[jira] [Commented] (AMBARI-3353) Ambari-Client Bootstrap fails due
to odd status response style
[ 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