Dmytro Sen created AMBARI-4103:
----------------------------------
Summary: 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
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)