Robert Metzger created FLINK-15327:
--------------------------------------
Summary: 'Walkthrough DataStream Scala nightly' sometimes fails
with InterruptedException
Key: FLINK-15327
URL: https://issues.apache.org/jira/browse/FLINK-15327
Project: Flink
Issue Type: Improvement
Components: Examples, Tests
Affects Versions: 1.11.0
Reporter: Robert Metzger
The "Walkthrough DataStream Scala nightly end-to-end test"
(test_datastream_walkthroughs.sh) failed with the following error found in the
log
{code:java}
2019-12-18 17:54:15,698 INFO
org.apache.flink.runtime.taskexecutor.TaskExecutor - Un-registering
task and sending final execution state CANCELED to JobManager for task
fraud-detector -> Sink: send-alerts 018084fed67f928895eb79668f0143e0.2019-12-18
17:54:15,698 INFO org.apache.flink.runtime.taskexecutor.TaskExecutor
- Un-registering task and sending final execution state CANCELED to JobManager
for task fraud-detector -> Sink: send-alerts
018084fed67f928895eb79668f0143e0.2019-12-18 17:54:15,707 WARN
org.apache.flink.streaming.runtime.tasks.StreamTask - Error while
canceling task.java.lang.RuntimeException: java.lang.InterruptedException:
sleep interrupted at
org.apache.flink.walkthrough.common.source.TransactionSource$RateLimitedIterator.next(TransactionSource.java:60)
at
org.apache.flink.streaming.api.functions.source.FromIteratorFunction.run(FromIteratorFunction.java:43)
at
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:100)
at
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:63)
at
org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:196)Caused
by: java.lang.InterruptedException: sleep interrupted at
java.lang.Thread.sleep(Native Method) at
org.apache.flink.walkthrough.common.source.TransactionSource$RateLimitedIterator.next(TransactionSource.java:58)
... 4 more2019-12-18 17:54:15,717 INFO
org.apache.flink.runtime.taskmanager.Task - Source:
transactions (1/1) (8bfc09b3dac838c3c1fe1a9da40b2c37) switched from CANCELING
to CANCELED.2019-12-18 17:54:15,718 INFO
org.apache.flink.runtime.taskmanager.Task - Freeing task
resources for Source: transactions (1/1)
(8bfc09b3dac838c3c1fe1a9da40b2c37).2019-12-18 17:54:15,718 INFO
org.apache.flink.runtime.taskmanager.Task - Ensuring all
FileSystem streams are closed for task Source: transactions (1/1)
(8bfc09b3dac838c3c1fe1a9da40b2c37) [CANCELED]
{code}
Run:
[https://dev.azure.com/rmetzger/Flink/_build/results?buildId=3742&view=logs&j=b1623ac9-0979-5b0d-2e5e-1377d695c991&t=48867695-c47f-5af3-2f21-7845611247b9]
I assume this error happens only rarely.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)