spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yh18190 <yh18...@gmail.com>
Subject Re: Is their a way to Create SparkContext object?
Date Tue, 13 May 2014 09:14:59 GMT
Thanks Mateh Zahria.Can i pass it as a parameter as part of closures.
for example
RDD.map(t=>compute(sc,t._2))

can I use sc inside map function?Pls let me know



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Is-their-a-way-to-Create-SparkContext-object-tp5612p5647.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Mime
View raw message