You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2018/05/26 16:15:00 UTC

[jira] [Commented] (KAFKA-6952) LogCleaner stopped due to org.apache.kafka.common.errors.CorruptRecordException

    [ https://issues.apache.org/jira/browse/KAFKA-6952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491723#comment-16491723 ] 

Jun Rao commented on KAFKA-6952:
--------------------------------

Hmm, could you run bin/kafka-run-class.sh kafka.tools.DumpLogSegments on those log segments in the offset range [0, 6919353) and see if there is any message corruption? Alternatively, could you attach those log segments to the jira? Thanks.

> LogCleaner stopped due to org.apache.kafka.common.errors.CorruptRecordException
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-6952
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6952
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.11.0.2
>            Reporter: evan einst
>            Priority: Major
>
> This error occur our prd cluster 0.10.2.1 upgrading to the 0.11.0.2 version,  here said(https://issues.apache.org/jira/browse/KAFKA-5431)
> that in the 0.11.0.0 version is fixed this error, we decided to upgrade to 0.11.0.2 version, but after upgrading the code of a server, this problem still occured.
> ------------------------------------------------------------------------------------
> {{[2018-05-26 13:23:58,029] INFO Cleaner 0: Beginning cleaning of log __consumer_offsets-42. (kafka.log.LogCleaner) [2018-05-26 13:23:58,029] INFO Cleaner 0: Building offset map for __consumer_offsets-42... (kafka.log.LogCleaner) [2018-05-26 13:23:58,050] INFO Cleaner 0: Building offset map for log __consumer_offsets-42 for 19 segments in offset range [0, 6919353). (kafka.log.LogCleaner) [2018-05-26 13:23:58,300] ERROR [kafka-log-cleaner-thread-0]: Error due to (kafka.log.LogCleaner) org.apache.kafka.common.errors.CorruptRecordException: Record size is less than the minimum record overhead (14) [2018-05-26 13:23:58,301] INFO [kafka-log-cleaner-thread-0]: Stopped (kafka.log.LogCleaner)}}
> ------------------------------------------------------------------------------------
> Please help me resolve this problem, thank you very much!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)