Re: Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-15 Thread Akhil Das
-Streaming-Sentiment-Analysis-of-Twitter-streams-tp16410.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user

Re: Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-15 Thread S Krishna
.nabble.com/Spark-Streaming-Sentiment-Analysis-of-Twitter-streams-tp16410.html Sent from the Apache Spark User List mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional

Re: Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-15 Thread Akhil Das
) tweets.print() // print tweet text ssc.start() ssc.awaitTermination() sc.stop() // I tried commenting this, but the exception still appeared. } -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Streaming-Sentiment-Analysis

Re: Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-15 Thread Sean Owen
= r.getText) tweets.print() // print tweet text ssc.start() ssc.awaitTermination() sc.stop() // I tried commenting this, but the exception still appeared. } -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Streaming-Sentiment-Analysis

Re: Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-15 Thread SK
You are right. Creating the StreamingContext from the SparkContext instead of SparkConf helped. Thanks for the help. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Streaming-Sentiment-Analysis-of-Twitter-streams-tp16410p16520.html Sent from

Spark Streaming: Sentiment Analysis of Twitter streams

2014-10-14 Thread SK
= stream.map(r = r.getText) tweets.print() // print tweet text ssc.start() ssc.awaitTermination() sc.stop() // I tried commenting this, but the exception still appeared. } -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Spark-Streaming-Sentiment