Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B33AF10113 for ; Wed, 18 Dec 2013 15:11:29 +0000 (UTC) Received: (qmail 5795 invoked by uid 500); 18 Dec 2013 15:11:22 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 5730 invoked by uid 500); 18 Dec 2013 15:11:17 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 5619 invoked by uid 99); 18 Dec 2013 15:11:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Dec 2013 15:11:11 +0000 Date: Wed, 18 Dec 2013 15:11:11 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-4103) Structured command output may contain exception data in some cases 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-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen resolved AMBARI-4103. -------------------------------- Resolution: Fixed Committed to trunk > Structured command output may contain exception data in some cases > ------------------------------------------------------------------ > > Key: AMBARI-4103 > URL: https://issues.apache.org/jira/browse/AMBARI-4103 > Project: Ambari > Issue Type: Bug > Components: agent > Affects Versions: 1.5.0 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Fix For: 1.5.0 > > Attachments: AMBARI-4103.patch > > > If an exception occurs in CustomServiceOrchestrator, stdout will contain this exception data. That may confuse consumers of structured output. > {code} > {'structuredOut': "Catched an exception while executing custom service command: : too many values to unpack", 'exitcode': 1, 'stderr': "Catched an exception while executing custom service command: : too many values to unpack", 'stdout': "Catched an exception while executing custom service command: : too many values to unpack"} > {code} -- This message was sent by Atlassian JIRA (v6.1.4#6159)