ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12564) Logging of exceptions in python code in Ambari Agent
Date Tue, 28 Jul 2015 12:46:04 GMT
Andrew Onischuk created AMBARI-12564:
----------------------------------------

             Summary: Logging of exceptions in python code in Ambari Agent
                 Key: AMBARI-12564
                 URL: https://issues.apache.org/jira/browse/AMBARI-12564
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.1.1


Today if Ambari Agent python code throws the exception and the stack trace get
rerouted to /var/log/ambari_agent/ambari_agent.out . This is not logged by our
agent and therefore it makes it hard to RCA Ambari Agent failures, let alone
know that Ambari Agent failed.  
I am hoping it is possible to wrap the entry code to Ambari Agent in a
try/catch and log the error message and stack trace to the log appenders and
only then have ambari agent throw.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message