[
https://issues.apache.org/jira/browse/KAFKA-13305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao resolved KAFKA-13305.
-----------------------------
Fix Version/s: 3.1.0
Assignee: Vincent Jiang
Resolution: Fixed
merged the PR trunk.
> 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
> Assignee: Vincent Jiang
> Priority: Major
> Fix For: 3.1.0
>
>
> 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)