You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Vincent Jiang (Jira)" <ji...@apache.org> on 2021/09/15 17:30:00 UTC
[jira] [Created] (KAFKA-13305) NullPointerException in
LogCleanerManager "uncleanable-bytes" gauge
Vincent Jiang created KAFKA-13305:
-------------------------------------
Summary: NullPointerException in LogCleanerManager "uncleanable-bytes" gauge
Key: KAFKA-13305
URL: https://issues.apache.org/jira/browse/KAFKA-13305
Project: Kafka
Issue Type: Bug
Components: log cleaner
Reporter: Vincent Jiang
We've seen following exception in production environment:
{quote} java.lang.NullPointerException: Cannot invoke "kafka.log.UnifiedLog.logStartOffset()" because "log" is null at
kafka.log.LogCleanerManager$.cleanableOffsets(LogCleanerManager.scala:599)
{quote}
Looks like uncleanablePartitions never has partitions removed from it to reflect partition deletion/reassignment.
We should fix the NullPointerException and removed deleted partitions from uncleanablePartitions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)