You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/03/31 11:25:53 UTC

[jira] [Commented] (SPARK-6626) TwitterUtils.createStream documentation error

    [ 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