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] [Created] (AMBARI-4103) Structured command output may contain exception data in some cases
Date Wed, 18 Dec 2013 13:04:07 GMT
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)

Mime
View raw message