You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2025/02/21 01:53:00 UTC
[jira] [Updated] (HDDS-12389) Disallow stopping active datanode
[ https://issues.apache.org/jira/browse/HDDS-12389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Andika updated HDDS-12389:
-------------------------------
Description:
Currently, we allow datanode to be stopped anytime using "ozone --daemon stop datanode" command regardless even if the datanode is still active (e.g. there is still an active write pipeline on the datanode).
I propose that by default datanode can only be stopped by administrator if it is either IN_MAINTENANCE or DECOMMISSIONED. If the administrator wants to stop it forcefully, he/she needs to specify the --force flag ("ozone --daemon stop --force").
was:
Currently, we allow datanode to be stopped anytime using "ozone --daemon stop datanode" command regardless even if the datanode is still active (e.g. there is still an active write pipeline on the datanode).
I propose that by default datanode can only be stopped by administrator if it is either IN_MAINTENANCE or DECOMMISSIONED. If the administrator wants to stop it forcefully, he/she needs to specify the --force flag ("ozone --daemon stop --force").
> Disallow stopping active datanode
> ---------------------------------
>
> Key: HDDS-12389
> URL: https://issues.apache.org/jira/browse/HDDS-12389
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> Currently, we allow datanode to be stopped anytime using "ozone --daemon stop datanode" command regardless even if the datanode is still active (e.g. there is still an active write pipeline on the datanode).
> I propose that by default datanode can only be stopped by administrator if it is either IN_MAINTENANCE or DECOMMISSIONED. If the administrator wants to stop it forcefully, he/she needs to specify the --force flag ("ozone --daemon stop --force").
--
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