You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2022/06/21 21:12:00 UTC

[jira] [Created] (HDDS-6930) SCM should not print ERROR on normal exit

Siyao Meng created HDDS-6930:
--------------------------------

             Summary: SCM should not print ERROR on normal exit
                 Key: HDDS-6930
                 URL: https://issues.apache.org/jira/browse/HDDS-6930
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Siyao Meng


[~aswinshakil] and I noticed that we SCM is shutdown normally it prints out the ERROR log:

{code}
2022-06-21 20:37:52,246 ERROR org.apache.hadoop.hdds.scm.server.StorageContainerManager: Terminating with exit status 1: scm statemachine is closed by ratis, terminate SCM
{code}

1. This can be misleading as it shouldn't print ERROR if SCM is being shut down *normally*;
2. And the exit code should be 0 if shutdown ended successfully. >0 values conventionally indicates errors.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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