Details
-
Documentation
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.3.0
Description
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)