[
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: [email protected]
For additional commands, e-mail: [email protected]