Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7759 Improve Ozone Replication Manager
  3. HDDS-8835

ReplicationManager: Fix metrics to work with new RM

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • None

    Description

      This change is to tidy up the metrics in ReplicationManager metrics. Some of the legacy metrics are no longer valid in the new RM, and the naming was inconsistent between the old Ratis metrics and EC metrics.

      The new metrics after this change look like the following:

          "name" : "Hadoop:service=StorageContainerManager,name=ReplicationManagerMetrics",
          "modelerType" : "ReplicationManagerMetrics",
          "tag.Hostname" : "835ec174c7ef",
          "InflightReplication" : 0,
          "InflightDeletion" : 0,
          "InflightEcReplication" : 0,
          "InflightEcDeletion" : 2,
          "UnderReplicatedQueueSize" : 0,
          "OverReplicatedQueueSize" : 0,
          "OpenContainers" : 0,
          "ClosingContainers" : 0,
          "QuasiClosedContainers" : 0,
          "ClosedContainers" : 14,
          "DeletingContainers" : 1,
          "DeletedContainers" : 0,
          "RecoveringContainers" : 0,
          "UnderReplicatedContainers" : 0,
          "MisReplicatedContainers" : 0,
          "OverReplicatedContainers" : 0,
          "MissingContainers" : 0,
          "UnhealthyContainers" : 0,
          "EmptyContainers" : 0,
          "OpenUnhealthyContainers" : 0,
          "StuckQuasiClosedContainers" : 0,
          "ReplicationCmdsSentTotal" : 0,
          "ReplicasCreatedTotal" : 0,
          "ReplicaCreateTimeoutTotal" : 0,
          "DeletionCmdsSentTotal" : 0,
          "ReplicasDeletedTotal" : 0,
          "ReplicaDeleteTimeoutTotal" : 0,
          "EcReplicationCmdsSentTotal" : 0,
          "EcDeletionCmdsSentTotal" : 62,
          "EcReplicasCreatedTotal" : 5,
          "EcReplicasDeletedTotal" : 0,
          "EcReconstructionCmdsSentTotal" : 15,
          "EcReplicaCreateTimeoutTotal" : 10,
          "EcReplicasDeletedTotal" : 0,
          "EcReplicaDeleteTimeoutTotal" : 60,
          "EcReconstructionCmdsDeferredTotal" : 0,
          "DeleteContainerCmdsDeferredTotal" : 0,
          "ReplicateContainerCmdsDeferredTotal" : 0
      

      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: