You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/12/18 14:48:08 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13851738#comment-13851738 ]
Dmitry Lysnichenko commented on AMBARI-4103:
--------------------------------------------
+1
> 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)