I'm using the spark shell v1.61 . I have a classpath conflict, where I
have an external library ( not OSS either :( , can't rebuild it.)
using httpclient-4.5.2.jar. I use spark-shell --jars
file:/path/to/httpclient-4.5.2.jar

However spark is using httpclient-4.3 internally. Then when I try to
use the external library I get

getClass.getResource("/org/apache/http/conn/ssl/SSLConnectionSocketFactory.class");

res5: java.net.URL =
jar:file:/opt/spark-1.6.1-bin-hadoop2.4/lib/spark-assembly-1.6.1-hadoop2.4.0.jar!/org/apache/http/conn/ssl/SSLConnectionSocketFactory.class

How do I get spark-shell on 1.6.1 to allow me to use the external
httpclient-4.5.2.jar for my application,and ignore it's internal
library. Or is this not possible?

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to