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 GitBox <gi...@apache.org> on 2019/10/25 15:38:43 UTC

[GitHub] [hadoop-ozone] sodonnel opened a new pull request #86: HDDS-2329 Destroy pipelines on any decommission or maintenance nodes

sodonnel opened a new pull request #86: HDDS-2329 Destroy pipelines on any decommission or maintenance nodes
URL: https://github.com/apache/hadoop-ozone/pull/86
 
 
   ## What changes were proposed in this pull request?
   
   When a node is marked for decommission or maintenance, the first step in taking the node out of service is to destroy any pipelines the node is involved in and confirm they have been destroyed before getting the container list for the node.
   
   This commit added a new class called the DatanodeAdminMonitor, which is responsible for tracking nodes as they go through the decommission workflow.
   
   When a node is marked for decommission, it gets added a to a queue in this monitor. The monitor runs periodically (30 seconds by default) and process any queued nodes. After processing they are tracked inside the monitor as they decommission workflow progresses (closing pipelines, getting the container list, replicating the container, etc).
   
   With this commit, a node can be added to the monitor for decommission or maintenace and it will have its pipelines closed.
   
   It will not make any further progress after the pipelines have been closed and further commits will address the next states.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2329
   
   ## How was this patch tested?
   
   Some manual tests and new unit tests have been added.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org