You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "rnblough (via GitHub)" <gi...@apache.org> on 2025/06/17 15:04:18 UTC

[PR] HDDS-13220. Change Recon 'Negative usedBytes' message loglevel to DEBUG [ozone]

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] HDDS-13220. Change Recon 'Negative usedBytes' message loglevel to DEBUG [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo merged PR #8648:
URL: https://github.com/apache/ozone/pull/8648


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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