You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2019/09/27 10:47:00 UTC
[jira] [Created] (HDDS-2196) Add CLI Commands and Protobuf messages
to trigger decom states
Stephen O'Donnell created HDDS-2196:
---------------------------------------
Summary: Add CLI Commands and Protobuf messages to trigger decom states
Key: HDDS-2196
URL: https://issues.apache.org/jira/browse/HDDS-2196
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Components: SCM, SCM Client
Affects Versions: 0.5.0
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
To all nodes to be decommissioned, recommissioned and put into maintenance, we need a few commands.
These will be added to the existing "scm cli". 3 commands are proposed:
Decommission:
ozone scmcli dnadmin decommission hosta hostb hostc:port ...
Put nodes into maintenance:
osone scmcli dnadmin maintenance hosta hostb hostc:port ... <-endHours>
Take nodes out of maintenance or halt decommission:
ozone scmcli dnadmin recommission hosta hostb hostc:port
These 3 commands will call 3 new protobuf messages and they will be part of the "StorageContainerLocationProtocol":
* DecommissionNodesRequestProto
* RecommissionNodesRequestProto
* StartMaintenanceNodesRequestProto
In additional a new class NodeDecommissionManager will be introduced that will receive these commands and carry out the decommission steps.
In this patch NodeDecommissionManager is only a skeleton implementation to receive the commands as this patch is mainly focused on getting the CLI commands and protobuf messages in place.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org