You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hanisha Koneru (Jira)" <ji...@apache.org> on 2021/07/21 22:15:05 UTC

[jira] [Created] (HDDS-5478) Improve error logging in OMStateMachine

Hanisha Koneru created HDDS-5478:
------------------------------------

             Summary: Improve error logging in OMStateMachine
                 Key: HDDS-5478
                 URL: https://issues.apache.org/jira/browse/HDDS-5478
             Project: Apache Ozone
          Issue Type: Improvement
          Components: OM
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


If some exception occurs in a StateMachine implemented method, the exception is propagated back to Ratis and then through Ratis back again to StateMachine. In this back and forth, the exception could be lost. 
While working on OM Bootstrap, I encountered a NullPointer exception in OMStateMachine which cause Ratis (and eventually StateMachine) to shutdown with a "client cancelled" exception. It would have helped in debugging if the OMStateMachine had logged the initial exception. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org