spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Bradley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-11796) Docker JDBC integration tests fail in Maven build due to dependency issue
Date Sun, 24 Jan 2016 19:33:40 GMT

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

Brandon Bradley commented on SPARK-11796:
-----------------------------------------

[~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


Mime
View raw message