You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Brandon Bradley (JIRA)" <ji...@apache.org> on 2016/01/24 20:38:40 UTC

[jira] [Comment Edited] (SPARK-11796) Docker JDBC integration tests fail in Maven build due to dependency issue

    [ https://issues.apache.org/jira/browse/SPARK-11796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114484#comment-15114484 ] 

Brandon Bradley edited comment on SPARK-11796 at 1/24/16 7:38 PM:
------------------------------------------------------------------

[~mgrover] I figured it out! I believe IntelliJ 15 doesn't support shaded dependencies from SBT. It imports jars from the shaded dependencies as well.


was (Author: blbradley):
[~mgrover] I figured it out! I believe IntelliJ doesn't support shaded dependencies.

> Docker JDBC integration tests fail in Maven build due to dependency issue
> -------------------------------------------------------------------------
>
>                 Key: SPARK-11796
>                 URL: https://issues.apache.org/jira/browse/SPARK-11796
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Tests
>    Affects Versions: 1.6.0
>            Reporter: Josh Rosen
>            Assignee: Mark Grover
>             Fix For: 1.6.0
>
>
> Our new Docker integration tests for JDBC dialects are failing in the Maven builds. For now, I've disabled this for Maven by adding the {{-Dtest.exclude.tags=org.apache.spark.tags.DockerTest}} flag to our Jenkins builds, but we should fix this soon. The test failures seem to be related to dependency or classpath issues:
> {code}
> *** RUN ABORTED ***
>   java.lang.NoSuchMethodError: org.apache.http.impl.client.HttpClientBuilder.setConnectionManagerShared(Z)Lorg/apache/http/impl/client/HttpClientBuilder;
>   at org.glassfish.jersey.apache.connector.ApacheConnector.<init>(ApacheConnector.java:240)
>   at org.glassfish.jersey.apache.connector.ApacheConnectorProvider.getConnector(ApacheConnectorProvider.java:115)
>   at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:418)
>   at org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:88)
>   at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:120)
>   at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:117)
>   at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:340)
>   at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:726)
>   at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:285)
>   at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:126)
>   ...
> {code}
> To reproduce locally: {{build/mvn -pl docker-integration-tests package}}. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org