Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/9503#issuecomment-155317816
Something really weird is going on here.
Following the advice at http://stackoverflow.com/a/21876380/590203, I added
the following line to `DockerJDBCIntegrationSuite` in order to figure out where
`BasicLineFormatter` was being loaded from:
```
println(this.getClass.getClassLoader.getResource("org/apache/http/message/BasicLineFormatter.class"))
```
When I run this locally with
```
sbt/sbt -Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0 -Pkinesis-asl
-Phive-thriftserver -Phive
```
I get
```
jar:file:/Users/joshrosen/Documents/spark/lib_managed/jars/httpcore-4.2.4.jar!/org/apache/http/message/BasicLineFormatter.class
```
This doesn't make sense, though: `show test:dependencyClasspath` does not
include that JAR, so I'm not quite sure how it's winding up on the classpath.
If I toss in a
```
this.getClass.getClassLoader.asInstanceOf[URLClassLoader].getURLs.foreach(println)
```
I still don't see where that JAR is coming from.
---
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]