You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2013/12/18 14:06:07 UTC

[jira] [Updated] (AMBARI-4103) Structured command output may contain exception data in some cases

     [ https://issues.apache.org/jira/browse/AMBARI-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmytro Sen updated AMBARI-4103:
-------------------------------

    Attachment: AMBARI-4103.patch

> 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: <type 'exceptions.ValueError'>: too many values to unpack", 'exitcode': 1, 'stderr': "Catched an exception while executing custom service command: <type 'exceptions.ValueError'>: too many values to unpack", 'stdout': "Catched an exception while executing custom service command: <type 'exceptions.ValueError'>: too many values to unpack"}
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)