kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxihx (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-5745) Partition.makeLeader() should convert HW to OffsetMetadata before becoming the leader
Date Thu, 17 Aug 2017 03:50:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

huxihx reassigned KAFKA-5745:
-----------------------------

    Assignee: huxihx

> Partition.makeLeader() should convert HW to OffsetMetadata before becoming the leader
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-5745
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5745
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.11.0.0
>            Reporter: Jun Rao
>            Assignee: huxihx
>
> Saw the following uncaught exception in the log.
> ERROR [KafkaApi-411] Error when handling request Name: FetchRequest; Version: 3; CorrelationId:
708572; ClientId: client-0; ReplicaId: -1; MaxWait: 500 ms; MinBytes: 1 bytes; MaxBytes:52428800
bytes; RequestInfo: ([topic1,3],PartitionFetchInfo(953794,1048576)) (kafka.server.KafkaApis)

> org.apache.kafka.common.KafkaException: 953793 [-1 : -1] cannot compare its segment info
with 953794 [829749 : 564535961] since it only has message offset info 
> at kafka.server.LogOffsetMetadata.onOlderSegment(LogOffsetMetadata.scala:48) 
> at kafka.server.DelayedFetch$$anonfun$tryComplete$1.apply(DelayedFetch.scala:93) 
> at kafka.server.DelayedFetch$$anonfun$tryComplete$1.apply(DelayedFetch.scala:77) 
> at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 
> at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) 
> at kafka.server.DelayedFetch.tryComplete(DelayedFetch.scala:77) 
> at kafka.server.DelayedOperation.safeTryComplete(DelayedOperation.scala:104)
> at kafka.server.DelayedOperationPurgatory.tryCompleteElseWatch(DelayedOperation.scala:196)

> at kafka.server.ReplicaManager.fetchMessages(ReplicaManager.scala:516) 
> at kafka.server.KafkaApis.handleFetchRequest(KafkaApis.scala:534) 
> at kafka.server.KafkaApis.handle(KafkaApis.scala:79) 
> at kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:60) 
> at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message