Re: NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass with spark-submit

2014-08-08 Thread Nick Pentreath
By the way, for anyone using elasticsearch-hadoop, there is a fix for this here: https://github.com/elasticsearch/elasticsearch-hadoop/issues/239 Ryan - using the nightly snapshot build of 2.1.0.BUILD-SNAPSHOT fixed this for me. On Thu, Aug 7, 2014 at 3:58 PM, Nick Pentreath wrote: > I'm also

Re: NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass with spark-submit

2014-08-07 Thread Nick Pentreath
I'm also getting this - Ryan we both seem to be running into this issue with elasticsearch-hadoop :) I tried spark.files.userClassPathFirst true on command line and that doesn;t work If I put it that line in spark/conf/spark-defaults it works but now I'm getting: java.lang.NoClassDefFoundError: o

Re: NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass with spark-submit

2014-08-04 Thread Sean Owen
I'm guessing you have the Jackson classes in your assembly but so does Spark. Its classloader wins, and does not contain the class present in your app's version of Jackson. Try spark.files.userClassPathFirst ? On Mon, Aug 4, 2014 at 6:28 AM, Ryan Braley wrote: > Hi Folks, > > I have an assembly

NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass with spark-submit

2014-08-03 Thread Ryan Braley
Hi Folks,   I have an assembly jar that I am submitting using spark-submit script on a cluster I created with the spark-ec2 script. I keep running into the java.lang.NoClassDefFoundError: org/codehaus/jackson/annotate/JsonClass error on my workers even though jar tf clearly shows that class being