Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- links to