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

             Summary: Add metrics to ReplicationSupervisor for task count and 
max stream
                 Key: HDDS-8746
                 URL: https://issues.apache.org/jira/browse/HDDS-8746
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: SCM
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


To give added visibility into the Replication Queue on a datanode, this Jira 
adds some extra metrics to give visibility into the count of "normal priority" 
Replication and Reconstruction tasks, along with the current maxStreams 
setting, which is automatically adjusted when the node moves into decommission.

This was tested manually in Docker compose by sampling the JMX output. Sample 
output:

{code}
    "name" : "Hadoop:service=HddsDatanode,name=ReplicationSupervisorMetrics",
    "modelerType" : "ReplicationSupervisorMetrics",
    "tag.Hostname" : "b297306fcf0f",
    "numInFlightReplications" : 5,
    "numQueuedReplications" : 4,
    "numRequestedReplications" : 1,
    "numTimeoutReplications" : 0,
    "numSkippedReplications" : 0,
    "maxReplicationStreams" : 1, ** newly added
    "numInflightECReconstructionCoordinatorTask" : 5 ** newly added


    "name" : "Hadoop:service=HddsDatanode,name=ReplicationSupervisorMetrics",
    "modelerType" : "ReplicationSupervisorMetrics",
    "tag.Hostname" : "b297306fcf0f",
    "numInFlightReplications" : 1,
    "numQueuedReplications" : 0,
    "numRequestedReplications" : 6,
    "numTimeoutReplications" : 0,
    "numSkippedReplications" : 0,
    "maxReplicationStreams" : 1,      ** newly added
    "numInflightReplicationTask" : 1,  ** newly added
    "numInflightECReconstructionCoordinatorTask" : 0 ** newly added
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to