Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB55210EDB for ; Thu, 26 Sep 2013 19:05:05 +0000 (UTC) Received: (qmail 15030 invoked by uid 500); 26 Sep 2013 19:05:04 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 14971 invoked by uid 500); 26 Sep 2013 19:05:03 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 14938 invoked by uid 99); 26 Sep 2013 19:05:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2013 19:05:02 +0000 Date: Thu, 26 Sep 2013 19:05:02 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3353) Ambari-Client Bootstrap fails due to odd status response style MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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