Re: conflicting version question

2018-10-26 Thread Nathan Kronenfeld
Thanks for the suggestion. Ouch. That looks painful. On Fri, Oct 26, 2018 at 1:28 PM Anastasios Zouzias wrote: > Hi Nathan, > > You can try to shade the dependency version that you want to use. That > said, shading is a tricky technique. Good luck. > > >

Re: conflicting version question

2018-10-26 Thread Anastasios Zouzias
Hi Nathan, You can try to shade the dependency version that you want to use. That said, shading is a tricky technique. Good luck. https://softwareengineering.stackexchange.com/questions/297276/what-is-a-shaded-java-dependency See also elasticsearch's discussion on shading

conflicting version question

2018-10-26 Thread Nathan Kronenfeld
Our code is currently using Gson 2.8.5. Spark, through Hadoop-API, pulls in Gson 2.2.4. At the moment, we just get "method X not found" exceptions because of this - because when we run in Spark, 2.2.4 is what gets loaded. Is there any way to have both versions exist simultaneously? To load