spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robineast <>
Subject Re: how to write any data (non RDD) to a file inside closure?
Date Tue, 18 Aug 2015 12:41:36 GMT
Still not sure what you are trying to achieve. If you could post some code that doesn’t work
the community can help you understand where the error (syntactic or conceptual) is.
> On 17 Aug 2015, at 17:42, dianweih001 [via Apache Spark User List] <>
> Hi Robin, 
> I know how to write/read file outside of RDDs and executor closure. Just not sure how
to write data to file inside  closure because within closure we have to define RDDs which
will introduce SparkContext error sometimes. 
> Thank you for your reply. 
> Dianwei 
> If you reply to this email, your message will be added to the discussion below:
> To start a new topic under Apache Spark User List, email

> To unsubscribe from Apache Spark User List, click here <>.
> NAML <>

View this message in context:
Sent from the Apache Spark User List mailing list archive at
View raw message