Jayson Sunshine created SPARK-6626:
--------------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to