spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ponkin <alexey.pon...@ya.ru>
Subject Re: use GraphX with Spark Streaming
Date Wed, 26 Aug 2015 04:44:10 GMT
Hi,
Sure you can. StreamingContext has property /def sparkContext:
SparkContext/(see  docs
<http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.streaming.StreamingContext>

). Think about DStream - main abstraction in Spark Streaming, as a sequence
of RDD. Each DStream can be transform as RDD with method transform(see  docs
<http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.streaming.dstream.DStream>

) . So you can use whatever you want depends on your problem.



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/use-GraphX-with-Spark-Streaming-tp24418p24451.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message