GithubHelp home page GithubHelp logo

Comments (11)

lofifnc avatar lofifnc commented on July 18, 2024

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.

debelyoo avatar debelyoo commented on July 18, 2024

Yes, I get it with every run of the test

from flink-spector.

lofifnc avatar lofifnc commented on July 18, 2024

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.

lofifnc avatar lofifnc commented on July 18, 2024

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.

debelyoo avatar debelyoo commented on July 18, 2024

I'm using Flink 1.3.1, and Akka 2.4.16

from flink-spector.

lofifnc avatar lofifnc commented on July 18, 2024

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.

debelyoo avatar debelyoo commented on July 18, 2024

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.

whipit avatar whipit commented on July 18, 2024

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.

lofifnc avatar lofifnc commented on July 18, 2024

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.

whipit avatar whipit commented on July 18, 2024

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.

whipit avatar whipit commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.