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

   JIRA: HDFS-17284.Fix int overflow in calculating numEcReplicatedTasks and 
numReplicationTasks during block recovery
   
   Due to an integer overflow in numEcReplicatedTasks or 
numECReconstructedTasks, there is an anomaly in DN's xmitsInProgress.
   
   
![image](https://github.com/apache/hadoop/assets/54506205/78aae1dc-ce20-409f-8c14-37b659a5f1ac)
   
   **namenode log is as follows:**
   `2023-12-07 14:40:49,485 DEBUG 
org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager: Pending 
replication tasks: -841750 erasure-coded tasks: 3727672`
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to