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] [Updated] (HDDS-6930) SCM should not print ERROR and exit with code 1 on normal exit

     [ https://issues.apache.org/jira/browse/HDDS-6930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siyao Meng updated HDDS-6930:
-----------------------------
    Summary: SCM should not print ERROR and exit with code 1 on normal exit  (was: SCM should not print ERROR on normal exit)

> SCM should not print ERROR and exit with code 1 on normal exit
> --------------------------------------------------------------
>
>                 Key: HDDS-6930
>                 URL: https://issues.apache.org/jira/browse/HDDS-6930
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Siyao Meng
>            Priority: Major
>
> [~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