-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd error calling NoSuchMethodError on com.esotericsoftware.kryo.Kryo.setInstantiatorStrategy #209
Comments
I think what happened is that it went from returning void to returning boolean. The diamond pains here are no joke, but since Kryo is used by many low-layer systems without any classloaders, we get into pain. Storm, Scalding, Spark all use it. |
It is a signature change, but not the return value. The type of the argument to This is the stack trace you see if you are running code built against 2.21 (here. Chill 0.50) with Kryo 2.22 on the classpath and something tries to set the instantiator strategy. |
Anybody shortcut to get this error out of Jupyter-Spark1.5.2 on HD Insights |
That is due to a version mismatch between what chill was compiled against
and what kryo you have on the classpath. Without knowing what versions of
each it is hard to offer more help than that.
…On Sat, Jan 7, 2017 at 11:01 Miel Hostens ***@***.***> wrote:
Anybody shortcut to get this error out of Jupyter-Spark1.5.2 on HD Insights
java.lang.NoSuchMethodError:
com.esotericsoftware.kryo.Kryo.setInstantiatorStrategy(Lorg/objenesis/strategy/InstantiatorStrategy
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#209 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEJdqNxg5OKt0M5py78ml_yndD7HvY6ks5rP_0qgaJpZM4DGDKK>
.
|
What do you need as input from me? |
The version of chill and kryo on your classpath.
…On Sat, Jan 7, 2017 at 11:07 Miel Hostens ***@***.***> wrote:
What do you need as input from me?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#209 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAEJdt7Fma4L7GjzY6dQKWmAcMHYTihdks5rP_6JgaJpZM4DGDKK>
.
|
Hmm, i guess hd insights is hdp -hortonworks cluster, so i would have to dive in, any suggestions were to look for ? |
talking about chill here |
Solved |
This is being run from Spark.
Actually scrolling through the code I have no idea why we are getting this, seems to have arisen since our development project included titan which has set the kyro version on the class path to 2.222
Annoyingly given our current setup the titan dependencies have to be on the same class path so I'm going to be trying titan using 2.21 and also raising an issue in kryo to find out where it was moved to or why it was just removed, but I thought i would point this out for you guys to know about it.
The text was updated successfully, but these errors were encountered: