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 "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2019/11/20 22:26:00 UTC

[jira] [Created] (HDDS-2593) DatanodeAdminMonitor should track unreplicated containers and complete the admin workflow accordingly

Stephen O'Donnell created HDDS-2593:
---------------------------------------

             Summary: DatanodeAdminMonitor should track unreplicated containers and complete the admin workflow accordingly
                 Key: HDDS-2593
                 URL: https://issues.apache.org/jira/browse/HDDS-2593
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
          Components: SCM
    Affects Versions: 0.5.0
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


HDDS-2459 allowed the replicationManager to take care of containers which are under-replicated due to decommission and maintenance.

Its also exposed a new API to return a ContainerReplicaCount object:

{code}
getContainerReplicaCount(Container container)
{code}

This object will allow the DatanodeAdminMonitor to check if each container is "sufficiently replicated" before decommission or maintenance can complete and hence can be used to track the progress of each node as it progresses though the admin workflow.

We should track the containers on each node in administration and ensure that each is closed and sufficiently replicated before allowing decommission to complete.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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