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 C631517A5B for ; Tue, 31 Mar 2015 09:26:51 +0000 (UTC) Received: (qmail 52078 invoked by uid 500); 31 Mar 2015 09:25:53 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 52049 invoked by uid 500); 31 Mar 2015 09:25:53 -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 52039 invoked by uid 99); 31 Mar 2015 09:25:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 09:25:53 +0000 Date: Tue, 31 Mar 2015 09:25:53 +0000 (UTC) From: "Sean Owen (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-6626) TwitterUtils.createStream documentation error 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-6626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388298#comment-14388298 ] Sean Owen commented on SPARK-6626: ---------------------------------- Yes, I believe you are correct. Would you like to make a PR? > TwitterUtils.createStream documentation error > --------------------------------------------- > > Key: SPARK-6626 > URL: https://issues.apache.org/jira/browse/SPARK-6626 > Project: Spark > Issue Type: Documentation > Components: Documentation > Affects Versions: 1.3.0 > Reporter: Jayson Sunshine > Priority: Minor > Labels: documentation, easyfix > Original Estimate: 5m > Remaining Estimate: 5m > > At http://spark.apache.org/docs/1.3.0/streaming-programming-guide.html#input-dstreams-and-receivers, under 'Advanced Sources', the documentation provides the following call for Scala: > TwitterUtils.createStream(ssc) > However, with only one parameter to this method it appears a jssc object is required, not a ssc object: http://spark.apache.org/docs/1.3.0/api/java/index.html?org/apache/spark/streaming/twitter/TwitterUtils.html > To make the above call work one must instead provide an option argument, for example: > TwitterUtils.createStream(ssc, None) -- 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