Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/2474#issuecomment-56892116
> Are they actually different artifacts though? Can you let jets3t use 3.x
of the old artifact and still freely adjust what version of the 4.x artifact
you use?
Hmm, they _are_ actually different artifacts. Maybe HttpClient itself
isn't the problem here. Here's the actual exception that I get if I undo my
Maven changes:
```
[error] Uncaught exception when running org.apache.spark.ui.UISuite:
java.lang.NoSuchMethodError:
org.apache.http.impl.cookie.BrowserCompatSpecFactory.create(Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/cookie/CookieSpec;
sbt.ForkMain$ForkError:
org.apache.http.impl.cookie.BrowserCompatSpecFactory.create(Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/cookie/CookieSpec;
at
com.gargoylesoftware.htmlunit.CookieManager.<init>(CookieManager.java:61)
at com.gargoylesoftware.htmlunit.WebClient.<init>(WebClient.java:132)
at
org.openqa.selenium.htmlunit.HtmlUnitDriver.newWebClient(HtmlUnitDriver.java:288)
at
org.openqa.selenium.htmlunit.HtmlUnitDriver.createWebClient(HtmlUnitDriver.java:262)
at
org.openqa.selenium.htmlunit.HtmlUnitDriver.<init>(HtmlUnitDriver.java:147)
at
org.openqa.selenium.htmlunit.HtmlUnitDriver.<init>(HtmlUnitDriver.java:191)
at
org.openqa.selenium.htmlunit.HtmlUnitDriver.<init>(HtmlUnitDriver.java:187)
at org.apache.spark.ui.UISuite.<init>(UISuite.scala:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at
org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:641)
at sbt.ForkMain$Run$2.call(ForkMain.java:294)
at sbt.ForkMain$Run$2.call(ForkMain.java:284)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]