You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/06/02 11:00:00 UTC
[jira] [Resolved] (HDDS-8746) Add metrics to ReplicationSupervisor for task count and max stream
[ https://issues.apache.org/jira/browse/HDDS-8746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen O'Donnell resolved HDDS-8746.
-------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org