flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Metzger (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3288) KafkaConsumer (0.8) fails with UnknownException
Date Mon, 25 Jan 2016 15:20:39 GMT
Robert Metzger created FLINK-3288:
-------------------------------------

             Summary: KafkaConsumer (0.8) fails with UnknownException
                 Key: FLINK-3288
                 URL: https://issues.apache.org/jira/browse/FLINK-3288
             Project: Flink
          Issue Type: Bug
          Components: Kafka Connector
            Reporter: Robert Metzger
            Assignee: Robert Metzger


{code}
Exception for partition 19: kafka.common.UnknownException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at java.lang.Class.newInstance(Class.java:383)
    at kafka.common.ErrorMapping$.exceptionFor(ErrorMapping.scala:86)
    at kafka.common.ErrorMapping.exceptionFor(ErrorMapping.scala)
    at org.apache.flink.streaming.connectors.kafka.internals.LegacyFetcher$SimpleConsumerThread.run(LegacyFetcher.java:406)
    at org.apache.flink.streaming.connectors.kafka.internals.LegacyFetcher.run(LegacyFetcher.java:242)
    at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer.run(FlinkKafkaConsumer.java:397)
    at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:58)
    at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:55)
    at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:218)
    at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584)
    at java.lang.Thread.run(Thread.java:745)
{code}

One of the Kafka brokers is reporting

{code}
[2016-01-25 12:45:30,195] ERROR [Replica Manager on Broker 2]: Error when processing fetch
request for partition [WordCount,4] offset 335517 from consumer with correlation id 0. Possible
cause: Attempt to read with a maximum offset (335515) less than the start offset (335517).
(kafka.server.ReplicaManager)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message