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

zhangzhisheng edited comment on KAFKA-6666 at 6/10/20, 3:51 AM:
----------------------------------------------------------------

on our prd cluster, one topic partition ReplicaFetcherThread error, and stoped;

kafka verserion:2.12_0.11.0.2
 java_version: jdk1.8.0_231

 
{code:java}
// code placeholder
[2020-06-10 10:35:42,667] ERROR [ReplicaFetcherThread-0-1]: Error due to 
(kafka.server.ReplicaFetcherThread) kafka.common.KafkaException: error 
processing data for partition [topic-name,1] offset 36 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$8(AbstractFetcherThread.scala:204)
 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$8$adapted(AbstractFetcherThread.scala:174)
 at scala.Option.foreach(Option.scala:257) at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$7(AbstractFetcherThread.scala:174)
 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$7$adapted(AbstractFetcherThread.scala:171)
 at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:59) at 
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:52) at 
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$6(AbstractFetcherThread.scala:171)
 at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at 
kafka.utils.CoreUtils$.inLock(CoreUtils.scala:213) at 
kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherThread.scala:171)
 at kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:112) 
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:64) Caused by: 
org.apache.kafka.common.errors.OffsetOutOfRangeException: Cannot increment the 
log start offset to 36 of partition topic-name-1 since it is larger than the 
high watermark -1
{code}
 


was (Author: zhangzs):
on our prd cluster, one topic partition ReplicaFetcherThread error, and stoped;

kafka verserion:2.12_0.11.0.2
java_version: jdk1.8.0_231

 
{code:java}
// code placeholder
{code}
[2020-06-10 10:35:42,667] ERROR [ReplicaFetcherThread-0-1]: Error due to 
(kafka.server.ReplicaFetcherThread) kafka.common.KafkaException: error 
processing data for partition [topic-name,1] offset 36 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$8(AbstractFetcherThread.scala:204)
 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$8$adapted(AbstractFetcherThread.scala:174)
 at scala.Option.foreach(Option.scala:257) at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$7(AbstractFetcherThread.scala:174)
 at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$7$adapted(AbstractFetcherThread.scala:171)
 at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:59) at 
scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:52) at 
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) at 
kafka.server.AbstractFetcherThread.$anonfun$processFetchRequest$6(AbstractFetcherThread.scala:171)
 at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at 
kafka.utils.CoreUtils$.inLock(CoreUtils.scala:213) at 
kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherThread.scala:171)
 at kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:112) 
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:64) Caused by: 
org.apache.kafka.common.errors.OffsetOutOfRangeException: Cannot increment the 
log start offset to 36 of partition topic-name-1 since it is larger than the 
high watermark -1

> OffsetOutOfRangeException: Replica Thread Stopped Resulting in 
> Underreplicated Partitions
> -----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-6666
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6666
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.11.0.1
>            Reporter: Srinivas Dhruvakumar
>            Priority: Critical
>             Fix For: 1.1.0
>
>         Attachments: Screen Shot 2018-03-15 at 3.52.13 PM.png
>
>
> Hello All, 
> Currently we were seeing a few underreplicated partitions on our test cluster 
> which is used for Intergation testing. On debugging more we found the replica 
> thread was stopped due to an error 
> Caused by: org.apache.kafka.common.errors.OffsetOutOfRangeException: Cannot 
> increment the log start offset to 50 of partition <p1> since it is larger 
> than the high watermark -1
> Kindly find the attached screenshot. 
> !Screen Shot 2018-03-15 at 3.52.13 PM.png!
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to