Comments (11)
Do you get this exception with every run of the test?
Currently the LocalFlinkCluster will get shut down after every test. Flink seems to have registered some timer/scheduler with Akka internally. Which is now complaining because the ActorSystem gets shutdown and still has an active timer. I've never seen this exception but I think It can be ignored. I will catch this exception in the Future.
from flink-spector.
Yes, I get it with every run of the test
from flink-spector.
Ok, I'm going to have a detailed look into this on the weekend. The fix should be part of the release planned on monday.
from flink-spector.
I'm unable to reproduce this error. I will catch it but it would be interesting to see where this comes from. What Flink version are you using?
from flink-spector.
I'm using Flink 1.3.1, and Akka 2.4.16
from flink-spector.
I'm still unable to reproduce this. Nonetheless I've included a fix in the latest 0.8.1 release.
Could you test this and provide feedback if this resolves you problem?
from flink-spector.
I tested with release 0.8.1, but the exception still occurs.
However, the exception is not linked to flinkspector. I investigated a bit more, and this exception is actually linked to the Kafka version. Flink uses its own version of akka (forked from akka 2.3.X). I'm using version 2.4.19 and the exception seems to come from a library version conflict. I tested with akka 2.3.9 and the test completes without any exception.
Thanks for your time investigating anyway !
from flink-spector.
I am running flink version 1.4.1 with flink spector 0.8.1. And I do get this exception.
@debelyoo -- "...I investigated a bit more, and this exception is actually linked to the Kafka version." Do you mean Akka version here?
from flink-spector.
I think Akka version is meant. Are you using your own Akka dependency? Or maybe another dependency is using a different Akka version than Flink.
Could you also try using flink spector version 0.8.3?
from flink-spector.
AFAIK, I don't explicitly rely on Akka...and the only thing using akka is Flink.
So I just downgraded to flink version 1.3.2 where the issue does not occur. I'll try upgrading and retrying with flinkspector 0.8.3.
FWIW - I also added this SO question: https://stackoverflow.com/questions/49012005/flink-cluster-throws-illegalstateexception-cannot-enqueue-after-timer-shutdown
I referenced this issue in the question. The problem seems to impact some other areas too, so would be good to find out how to resolve long term.
from flink-spector.
Upgrading to flinkspector 0.8.3 with flink 1.4.1 seems to have fixed it. I have not been able to reproduce the issue. Here's my complete gradle dependency settings
testCompile group: 'io.flinkspector', name: 'flinkspector-datastream_2.11', version: '0.8.3'
compile group: 'org.apache.flink', name: 'flink-java', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-streaming-java_2.11', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-clients_2.11', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-connector-kafka-0.11_2.11', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-metrics-dropwizard', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-statebackend-rocksdb_2.11', version: '1.4.1'
compile group: 'org.apache.flink', name: 'flink-avro', version: '1.4.1'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.2'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.9.2'
from flink-spector.
Related Issues (20)
- Low performance when using EventTimeInputBuilder HOT 1
- Tests don't work while making mvn test on CircleCI HOT 2
- Convert Message Headers to Long
- Global Windows don't emit data on time HOT 2
- Publish versions to OSS Repository Hosting HOT 2
- "Task was cancelled" exception when testing CoProcessFunction HOT 6
- Tests flicker when running in parallel (when using Managed State) HOT 4
- Publish 0.8.2 to Maven Central HOT 5
- NPE in test HOT 6
- Consider splitting out JUnit 4 functionality into separate module and documenting HOT 2
- assertStream always passes HOT 6
- There is no DataStreamTestBase.emit variant that accepts an arbitrary timestamp HOT 1
- Run pipeline without flushing all the windows HOT 2
- TestBaseUtils.startCluster is deprecated as of Flink 1.7.0 HOT 5
- Release 0.8.5? HOT 3
- Flinkspector 0.9.1 references package/classes not published by Flink HOT 4
- Is there any plan to support flink 1.8? HOT 6
- setParallelism changes test outcome HOT 6
- unresolved dependencies scala 2.12
- unmaintained? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flink-spector.