[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to