From issues-return-19664-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Tue Dec 2 05:29:12 2014 Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBDC3C835 for ; Tue, 2 Dec 2014 05:29:12 +0000 (UTC) Received: (qmail 95917 invoked by uid 500); 2 Dec 2014 05:29:12 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 95889 invoked by uid 500); 2 Dec 2014 05:29:12 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 95879 invoked by uid 99); 2 Dec 2014 05:29:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Dec 2014 05:29:12 +0000 Date: Tue, 2 Dec 2014 05:29:12 +0000 (UTC) From: "A.K.M. Ashrafuzzaman (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-3638) Commons HTTP client dependency conflict in extras/kinesis-asl module MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14231018#comment-14231018 ] A.K.M. Ashrafuzzaman commented on SPARK-3638: --------------------------------------------- I have faced this issue in spark 1.1.0 and now updated spark version to 1.1.1 But still facing the same issue. I can see in the spark 1.1.1 hadoop 2.4 in the spark-assembly-1.1.1-hadoop2.4.0.jar the class HttpPatch is not there which was introduced in 4.2 http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/methods/HttpPatch So I think there might be an issue in the pre built package there. > 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.1.1, 1.2.0 > > > 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: > {code} > Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.(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.(PoolingClientConnectionManager.java:114) > at org.apache.http.impl.conn.PoolingClientConnectionManager.(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.(AmazonHttpClient.java:181) > at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:119) > at com.amazonaws.AmazonWebServiceClient.(AmazonWebServiceClient.java:103) > at com.amazonaws.services.kinesis.AmazonKinesisClient.(AmazonKinesisClient.java:136) > at com.amazonaws.services.kinesis.AmazonKinesisClient.(AmazonKinesisClient.java:117) > at com.amazonaws.services.kinesis.AmazonKinesisAsyncClient.(AmazonKinesisAsyncClient.java:132) > {code} > 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