rnblough opened a new pull request, #8648:
URL: https://github.com/apache/ozone/pull/8648

   ## What changes were proposed in this pull request?
   To change the default loglevel of the 'Negative usedBytes' message in Recon 
from WARN to DEBUG.
   
   In Recon, WARN messages of the type:
   
   2025-05-13 12:41:29,141 WARN 
[ContainerSizeCountTask]-org.apache.hadoop.ozone.recon.tasks.ContainerSizeCountTask:
 Negative usedBytes (-99999999) for container #555555 treating it as 0
    
   Can flood the logs in large clusters. In a cluster with 150+ DataNodes and 
50+ PB of data, I observed 90k such entries reporting once per minute, flooding 
the Recon logs into uselessness.
   
   These messages are originally logged on the DataNode, and then are thrown in 
Recon from the ContainerSizeCountTask. The problem driving the messages on the 
DataNode side has been resolved in 
[HDDS-11267](https://issues.apache.org/jira/browse/HDDS-11267). The flood of 
messages on the Recon side can be resolved by switching the loglevel of this 
message from WARN to DEBUG.
   
   Recon already captures this information in the UI, so the information 
remains aggregated for the user, without repeating the WARN messages every 
minute.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13220
   
   ## How was this patch tested?
   
   Manual execution of the CI testing scripts on my local fork.


-- 
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