[ https://issues.apache.org/jira/browse/HDDS-2329?focusedWorklogId=334204&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-334204 ]
ASF GitHub Bot logged work on HDDS-2329: ---------------------------------------- Author: ASF GitHub Bot Created on: 25/Oct/19 15:38 Start Date: 25/Oct/19 15:38 Worklog Time Spent: 10m Work Description: sodonnel commented on 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 334204) Remaining Estimate: 0h Time Spent: 10m > Destroy pipelines on any decommission or maintenance nodes > ---------------------------------------------------------- > > Key: HDDS-2329 > URL: https://issues.apache.org/jira/browse/HDDS-2329 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Components: SCM > Reporter: Stephen O'Donnell > Assignee: Stephen O'Donnell > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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 message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org