Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1880 Decommissioning and maintenance mode in Ozone
  3. HDDS-2593

DatanodeAdminMonitor should track under replicated containers and complete the admin workflow accordingly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • None
    • SCM

    Description

      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:

      getContainerReplicaCount(Container container)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              sodonnell Stephen O'Donnell
              sodonnell Stephen O'Donnell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m