[ 
https://issues.apache.org/jira/browse/HDDS-10486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

smita updated HDDS-10486:
-------------------------
    Description: 
Recon datanodes listing page should have a mechanism using a button or link 
which will be enabled once user selects the* Node status as DEAD  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}
 
 

 

 

  was:
Recon datanodes listing page should have a mechanism using a button or link 
which will be enabled once user selects the* Node status as DEAD or Operation 
State = Decommissioned * 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}
 
 

 

 


> 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
>            Priority: Major
>              Labels: pull-request-available
>
> Recon datanodes listing page should have a mechanism using a button or link 
> which will be enabled once user selects the* Node status as DEAD  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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to