Re: compatibility issue with Jersey2

2016-09-30 Thread SimonL
Hi, I'm a new subscriber, has their been any solution to the below issue? Many thanks, Simon -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/compatibility-issue-with-Jersey2-tp24951p27820.html Sent from the Apache Spark User List mailing list archive

Re: compatibility issue with Jersey2

2015-10-13 Thread Mingyu Kim
Hi all, I filed https://issues.apache.org/jira/browse/SPARK-11081. Since Jersey’s surface area is relatively small and seems to be only used for Spark UI and json API, shading the dependency might make sense similar to what’s done for Jerry dependencies at

Re: compatibility issue with Jersey2

2015-10-07 Thread Marcelo Vanzin
Seems like you might be running into https://issues.apache.org/jira/browse/SPARK-10910. I've been busy with other things but plan to take a look at that one when I find time... right now I don't really have a solution, other than making sure your application's jars do not include those classes the

Re: compatibility issue with Jersey2

2015-10-07 Thread Gary Ogden
What you suggested seems to have worked for unit tests. But now it throws this at run time on mesos with spark-submit: Exception in thread "main" java.lang.LinkageError: loader constraint violation: when resolving method

Re: compatibility issue with Jersey2

2015-10-06 Thread Marcelo Vanzin
On Tue, Oct 6, 2015 at 12:04 PM, Gary Ogden wrote: > But we run unit tests differently in our build environment, which is > throwing the error. It's setup like this: > > I suspect this is what you were referring to when you said I have a problem? Yes, that is what I was

Re: compatibility issue with Jersey2

2015-10-06 Thread Gary Ogden
In our separate environments we run it with spark-submit, so I can give that a try. But we run unit tests differently in our build environment, which is throwing the error. It's setup like this: helper = new CassandraHelper(settings.getCassandra().get()); SparkConf sparkConf =

Re: compatibility issue with Jersey2

2015-10-06 Thread Marcelo Vanzin
On Tue, Oct 6, 2015 at 5:57 AM, oggie wrote: > We have a Java app written with spark 1.3.1. That app also uses Jersey 2.9 > client to make external calls. We see spark 1.4.1 uses Jersey 1.9. How is this app deployed? If it's run via spark-submit, you could use

compatibility issue with Jersey2

2015-10-06 Thread oggie
provided org.glassfish.jersey.core jersey-client 2.9 -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/compatibility-issue-with-Jersey2-tp24951.html Sent from the Apache Spark User List mailing list

Re: compatibility issue with Jersey2

2015-10-06 Thread Ted Yu
e.spark > spark-streaming_2.10 > 1.4.1 > provided > > > org.apache.spark > spark-sql_2.10 > 1.4.1 > provided > > > org.glassfish.jersey.core >