Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0EABA200C7C for ; Mon, 5 Jun 2017 15:34:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0B808160BD4; Mon, 5 Jun 2017 13:34:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 545EE160BBF for ; Mon, 5 Jun 2017 15:34:48 +0200 (CEST) Received: (qmail 77197 invoked by uid 500); 5 Jun 2017 13:34:47 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 77181 invoked by uid 99); 5 Jun 2017 13:34:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2017 13:34:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C108FDFB01; Mon, 5 Jun 2017 13:34:46 +0000 (UTC) From: yssharma To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark issue #18029: [SPARK-20168][WIP][DStream] Add changes to use kinesis f... Content-Type: text/plain Message-Id: <20170605133446.C108FDFB01@git1-us-west.apache.org> Date: Mon, 5 Jun 2017 13:34:46 +0000 (UTC) archived-at: Mon, 05 Jun 2017 13:34:49 -0000 Github user yssharma commented on the issue: https://github.com/apache/spark/pull/18029 ``` ./bin/spark-shell --jars /Users/ysharma/.m2/repository/org/apache/spark/spark-streaming-kinesis-asl_2.11/2.3.0-SNAPSHOT/spark-streaming-kinesis-asl_2.11-2.3.0-SNAPSHOT.jar --packages com.amazonaws:amazon-kinesis-client:1.0.0 -Ylog-classpath import org.apache.spark.SparkConf import org.apache.spark.storage.StorageLevel import org.apache.spark.streaming.kinesis.KinesisInputDStream import org.apache.spark.streaming.{Seconds, StreamingContext} import com.amazonaws.services.kinesis.clientlibrary.lib.worker.InitialPositionInStream val streamingContext = new StreamingContext(sc, Seconds(30)) val kinesisStream = KinesisInputDStream.builder .streamingContext(streamingContext) .endpointUrl("https://kinesis.us-east-1.amazonaws.com") .regionName("us-east-1") .streamName("a-very-nice-kinesis-app") .initialPositionInStream(InitialPositionInStream.TRIM_HORIZON) .checkpointAppName("a-very-nice-kinesis-app") .checkpointInterval(Seconds(30)) .storageLevel(StorageLevel.MEMORY_AND_DISK_2) .build() Error: error: bad symbolic reference. A signature in KinesisInputDStream.class refers to term InterfaceStability in package org.apache.spark.annotation which is not available. It may be completely missing from the current classpath, or the version on the classpath might be incompatible with the version used when compiling KinesisInputDStream.class. ``` --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org