Try adding wordCounts.print() before ssc.start()
David Newberger
From: Lee Ho Yeung [mailto:jobmatt...@gmail.com]
Sent: Wednesday, June 15, 2016 9:16 PM
To: David Newberger
Cc: user@spark.apache.org
Subject: Re: streaming example has error
got another error StreamingContext: Error starting the
got another error StreamingContext: Error starting the context, marking it
as stopped
/home/martin/Downloads/spark-1.6.1/bin/spark-shell --packages
com.databricks:spark-csv_2.11:1.4.0
import org.apache.spark._
import org.apache.spark.streaming._
import org.apache.spark.streaming.StreamingContext._
Have you tried to “set spark.driver.allowMultipleContexts = true”?
David Newberger
From: Lee Ho Yeung [mailto:jobmatt...@gmail.com]
Sent: Tuesday, June 14, 2016 8:34 PM
To: user@spark.apache.org
Subject: streaming example has error
when simulate streaming with nc -lk
got error below,
then i