Re: NoSuchField Error : INSTANCE specify user defined httpclient jar

2016-09-18 Thread Sean Owen
NoSuchFieldError in an HTTP client class? This almost always means you have a conflicting versions of an unshaded dependency on your classpath, and in this case could be httpclient. You can often work around this with the userClassPathFirst options for driver and executor. On Sun, Sep 18, 2016 at

NoSuchField Error : INSTANCE specify user defined httpclient jar

2016-09-17 Thread sagarcasual .
Hello, I am using Spark 1.6.1 distribution over Cloudera CDH 5.7.0 cluster. When I am running my fatJar - spark jar and when it is making a call to HttpClient it is getting classic NoSuchField Error : INSTANCE. Which happens usually when httrpclient in classpath is older than anticipated