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