-
Notifications
You must be signed in to change notification settings - Fork 100
Akka conflict in Flink environment #225
Comments
Update: what I tried now is to 'shade' akka in the twitter4s library into an alternative package with the following lines in my build:
The shading works fine, but I then run into the following runtime error:
Hope you can help. |
My apologies for the late reply. It seems that it is having problems creating the ActorSystem...? At least, this is my best guess. What happens if you use the function Regards, |
So I am finding a similar issues for unrelated reasons. The reason as to why shading isn't working in this case is because of how Akka names its packages (ie akka.blah.blah). The relocation process ends up changing more than is intended however due to this. |
Yes, you're right on that. We resolved this back then by downgrading some versions of dependencies we were using. However, in the long run that isn't really a good solution. |
Hi,
I'm currently running a Twitter4s application in a Flink cluster.
And I'm running into the following error:
Basically what my application does:
Here some snippets of my code:
And the
startStream
method:I think this error is caused by version conflicts related to Akka (Flink also uses Akka), but I have no idea how to solve it. The Twitter4s version I'm using: 5.5
The text was updated successfully, but these errors were encountered: