[jira] [Created] (FLINK-12030) KafkaITCase.testMultipleSourcesOnePartition is unstable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12030) KafkaITCase.testMultipleSourcesOnePartition is unstable

Shang Yuanchun (Jira)
Aljoscha Krettek created FLINK-12030:
----------------------------------------

             Summary: KafkaITCase.testMultipleSourcesOnePartition is unstable
                 Key: FLINK-12030
                 URL: https://issues.apache.org/jira/browse/FLINK-12030
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka, Tests
            Reporter: Aljoscha Krettek


This is a relevant part from the log:
```
14:11:45,305 INFO  org.apache.flink.streaming.connectors.kafka.KafkaITCase       -
================================================================================
Test testMetricsAndEndOfStream(org.apache.flink.streaming.connectors.kafka.KafkaITCase) is running.
--------------------------------------------------------------------------------
14:11:45,310 INFO  org.apache.flink.streaming.connectors.kafka.KafkaTestBase     -
===================================
== Writing sequence of 300 into testEndOfStream with p=1
===================================
14:11:45,311 INFO  org.apache.flink.streaming.connectors.kafka.KafkaTestBase     - Writing attempt #1
14:11:45,316 INFO  org.apache.flink.streaming.connectors.kafka.KafkaTestEnvironmentImpl  - Creating topic testEndOfStream-1
14:11:45,863 WARN  org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer  - Property [transaction.timeout.ms] not specified. Setting it to 3600000 ms
14:11:45,910 WARN  org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer  - Using AT_LEAST_ONCE semantic, but checkpointing is not enabled. Switching to NONE semantic.
14:11:45,921 INFO  org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer  - Starting FlinkKafkaInternalProducer (1/1) to produce into default topic testEndOfStream-1
14:11:46,006 ERROR org.apache.flink.streaming.connectors.kafka.KafkaTestBase     - Write attempt failed, trying again
org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
        at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:146)
        at org.apache.flink.runtime.minicluster.MiniCluster.executeJobBlocking(MiniCluster.java:638)
        at org.apache.flink.streaming.util.TestStreamEnvironment.execute(TestStreamEnvironment.java:79)
        at org.apache.flink.streaming.connectors.kafka.KafkaConsumerTestBase.writeSequence(KafkaConsumerTestBase.java:1918)
        at org.apache.flink.streaming.connectors.kafka.KafkaConsumerTestBase.runEndOfStreamTest(KafkaConsumerTestBase.java:1537)
        at org.apache.flink.streaming.connectors.kafka.KafkaITCase.testMetricsAndEndOfStream(KafkaITCase.java:136)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
        at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.flink.streaming.connectors.kafka.FlinkKafkaException: Failed to send data to Kafka: This server does not host this topic-partition.
        at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer.checkErroneous(FlinkKafkaProducer.java:1002)
        at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer.flush(FlinkKafkaProducer.java:787)
        at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducer.close(FlinkKafkaProducer.java:658)
        at org.apache.flink.api.common.functions.util.FunctionUtils.closeFunction(FunctionUtils.java:43)
        at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.close(AbstractUdfStreamOperator.java:109)
        at org.apache.flink.streaming.runtime.tasks.StreamTask.closeAllOperators(StreamTask.java:443)
        at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:318)
        at org.apache.flink.runtime.taskmanager.Task.run(Task.java:711)
        ... 1 more
```

Travis run: https://travis-ci.org/apache/flink/jobs/510953235



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