Re: NoClassDefFoundError on cluster with httpclient 4.5.2

2016-10-24 Thread Till Rohrmann
Great to hear that you solved your problem :-) Cheers, Till On Fri, Oct 21, 2016 at 12:34 PM, Yassine MARZOUGUI < y.marzou...@mindlytix.com> wrote: > Hi Till, > > The httpclient jar is included in the job jar. Looking at a similar issue > FLINK-4587

Re: NoClassDefFoundError on cluster with httpclient 4.5.2

2016-10-21 Thread Yassine MARZOUGUI
Hi Till, The httpclient jar is included in the job jar. Looking at a similar issue FLINK-4587 , It turns out the problem is with maven shade plugin, since I'm building Flink from sources with maven 3.3.x. I was able to solve the problem by rebuildi

Re: NoClassDefFoundError on cluster with httpclient 4.5.2

2016-10-20 Thread Till Rohrmann
Hi Yassine, can you check whether the httpclient jar is contained in your job jar which you submit to the cluster? Cheers, Till On Wed, Oct 19, 2016 at 6:41 PM, Yassine MARZOUGUI < y.marzou...@mindlytix.com> wrote: > Hi all, > > I'm using httpclient with the following dependency: > > > org.apa

NoClassDefFoundError on cluster with httpclient 4.5.2

2016-10-19 Thread Yassine MARZOUGUI
Hi all, I'm using httpclient with the following dependency: org.apache.httpcomponents httpclient 4.5.2 On local mode, the program works correctly, but when executed on the cluster, I get the following exception: java.lang.Exception: The user defined 'open(Configuration)' method in class org.m