spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Rosen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-3638) Commons HTTP client dependency conflict in extras/kinesis-asl module
Date Thu, 02 Oct 2014 01:32:34 GMT

     [ https://issues.apache.org/jira/browse/SPARK-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Rosen resolved SPARK-3638.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.1
                   1.2.0

Issue resolved by pull request 2535
[https://github.com/apache/spark/pull/2535]

> Commons HTTP client dependency conflict in extras/kinesis-asl module
> --------------------------------------------------------------------
>
>                 Key: SPARK-3638
>                 URL: https://issues.apache.org/jira/browse/SPARK-3638
>             Project: Spark
>          Issue Type: Bug
>          Components: Examples, Streaming
>    Affects Versions: 1.1.0
>            Reporter: Aniket Bhatnagar
>              Labels: dependencies
>             Fix For: 1.2.0, 1.1.1
>
>
> Followed instructions as mentioned @ https://github.com/apache/spark/blob/master/docs/streaming-kinesis-integration.md
and when running the example, I get the following error:
> Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.<init>(Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)V
>         at org.apache.http.impl.conn.PoolingClientConnectionManager.createConnectionOperator(PoolingClientConnectionManager.java:140)
>         at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:114)
>         at org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:99)
>         at com.amazonaws.http.ConnectionManagerFactory.createPoolingClientConnManager(ConnectionManagerFactory.java:29)
>         at com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:97)
>         at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:181)
>         at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:119)
>         at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:103)
>         at com.amazonaws.services.kinesis.AmazonKinesisClient.<init>(AmazonKinesisClient.java:136)
>         at com.amazonaws.services.kinesis.AmazonKinesisClient.<init>(AmazonKinesisClient.java:117)
>         at com.amazonaws.services.kinesis.AmazonKinesisAsyncClient.<init>(AmazonKinesisAsyncClient.java:132)
> I believe this is due to the dependency conflict as described @ http://mail-archives.apache.org/mod_mbox/spark-dev/201409.mbox/%3CCAJOb8btdXks-7-spJJ5jMNw0XsnrjwDpCQqtjht1hUn6j4zb_g@mail.gmail.com%3E



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