You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Navin Kumar (Jira)" <ji...@apache.org> on 2022/10/17 11:22:00 UTC
[jira] [Commented] (HDDS-6930) SCM should not print ERROR and exit with code 1 on successful shutdown
[ https://issues.apache.org/jira/browse/HDDS-6930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618835#comment-17618835 ]
Navin Kumar commented on HDDS-6930:
-----------------------------------
Hi [~smeng]
Thanks for reporting this Jira . I am working on it .
> SCM should not print ERROR and exit with code 1 on successful shutdown
> ----------------------------------------------------------------------
>
> Key: HDDS-6930
> URL: https://issues.apache.org/jira/browse/HDDS-6930
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Siyao Meng
> Assignee: Navin Kumar
> 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|https://github.com/apache/ozone/blob/349f47d8a382f648b2fd947519ab7bdbb989edcf/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/StorageContainerManager.java#L1629] if shutdown is successful. >0 values conventionally indicates errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org