Devesh Kumar Singh created HDDS-10486:
-----------------------------------------

             Summary: Recon datanode UI to incorporate explicit removal of DEAD 
datanodes
                 Key: HDDS-10486
                 URL: https://issues.apache.org/jira/browse/HDDS-10486
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Recon
            Reporter: Devesh Kumar Singh
            Assignee: smita


Recon datanodes listing page should have a mechanism using a button or link 
which will be enabled once user selects the DEAD or Decommissioned or In 
Maintenance nodes for explicity removal from Recon memory and ask recon to stop 
tracking. Following backend API will be provided by Recon to facilitate this.

 

PUT

api/v1/datanodes/remove

JSON Body input takes UUID list of datanodes to be removed from cluster:

Input:
[
"50ca4c95-2ef3-4430-b944-97d2442c3daf"
]
Output:
 
{noformat}
{ "removedNodes": { "totalCount": 1, "datanodes": [ { "uuid": 
"50ca4c95-2ef3-4430-b944-97d2442c3daf", "hostname": 
"ozone-datanode-4.ozone_default", "state": "DEAD", "pipelines": null } ], 
"message": "Successfully removed 1 datanodes !!!" } }{noformat}
 
 

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to