ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-4103) Structured command output may contain exception data in some cases
Date Wed, 18 Dec 2013 15:09:08 GMT

     [ 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)

Mime
View raw message