You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/20 02:47:00 UTC

[jira] [Commented] (HDFS-17433) metrics sumOfActorCommandQueueLength should only record valid commands

    [ https://issues.apache.org/jira/browse/HDFS-17433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828574#comment-17828574 ] 

ASF GitHub Bot commented on HDFS-17433:
---------------------------------------

hfutatzhanghb opened a new pull request, #6644:
URL: https://github.com/apache/hadoop/pull/6644

   ### Description of PR
     We add an phone alarm on metrics sumOfActorCommandQueueLength when it beyond 3000.
     Recently, we received the alarm and we found that `DatanodeCommand[] cmds` with array length equals to 0 was 
   still put into queue and incrActorCmdQueueLength.
     When processedCommandsOpAvgTime is high, those empty cmds were put into queue every heartbeat intervel.
     sumOfActorCommandQueueLength should better only record valid commands.
   
   
   




> metrics sumOfActorCommandQueueLength should only record valid commands
> ----------------------------------------------------------------------
>
>                 Key: HDFS-17433
>                 URL: https://issues.apache.org/jira/browse/HDFS-17433
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 3.4.0
>            Reporter: farmmamba
>            Assignee: farmmamba
>            Priority: Minor
>




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

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