Skip to content
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

jackson-core-asl version incompatible with Spark #241

Closed
bzz opened this Issue Aug 6, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@bzz
Copy link

bzz commented Aug 6, 2014

Using master with #239 resolved still gives an exception

java.lang.NoClassDefFoundError (java.lang.NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass}
org.codehaus.jackson.map.introspect.JacksonAnnotationIntrospector.findDeserializationType(JacksonAnnotationIntrospector.java:524)
org.codehaus.jackson.map.deser.BasicDeserializerFactory.modifyTypeByAnnotation(BasicDeserializerFactory.java:732)
org.codehaus.jackson.map.deser.BasicDeserializerFactory.createMapDeserializer(BasicDeserializerFactory.java:337)
org.codehaus.jackson.map.deser.StdDeserializerProvider._createDeserializer(StdDeserializerProvider.java:377)
org.codehaus.jackson.map.deser.StdDeserializerProvider._createAndCache2(StdDeserializerProvider.java:307)
org.codehaus.jackson.map.deser.StdDeserializerProvider._createAndCacheValueDeserializer(StdDeserializerProvider.java:287)
org.codehaus.jackson.map.deser.StdDeserializerProvider.findValueDeserializer(StdDeserializerProvider.java:136)
org.codehaus.jackson.map.deser.StdDeserializerProvider.findTypedValueDeserializer(StdDeserializerProvider.java:157)
org.codehaus.jackson.map.ObjectMapper._findRootDeserializer(ObjectMapper.java:2468)
org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2383)
org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1094)
org.elasticsearch.hadoop.rest.RestClient.parseContent(RestClient.java:120)
org.elasticsearch.hadoop.rest.RestClient.get(RestClient.java:109)
org.elasticsearch.hadoop.rest.RestClient.discoverNodes(RestClient.java:91)
org.elasticsearch.hadoop.rest.InitializationUtils.discoverNodesIfNeeded(InitializationUtils.java:61)
org.elasticsearch.hadoop.rest.RestService.createWriter(RestService.java:202)
org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.init(EsOutputFormat.java:173)
org.elasticsearch.hadoop.mr.EsOutputFormat$EsRecordWriter.write(EsOutputFormat.java:149)

@bzz bzz changed the title xjackson-core-asl version incompatible with Spark jackson-core-asl version incompatible with Spark Aug 6, 2014

@costin

This comment has been minimized.

Copy link
Member

costin commented Aug 6, 2014

@bzz, can you please try the latest master and confirm? As indicated in #239, the latest artifact in maven has addressed this issue.

@costin costin added bug labels Aug 6, 2014

@bzz

This comment has been minimized.

Copy link
Author

bzz commented Aug 7, 2014

@costin Just verified, latest snapshot works like a charm, thank you for taking care!

@bzz bzz closed this Aug 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.