Christopher 

It is once per JVM. TaskNonce would meet my needs. I guess if I want it once
per thread, then a ThreadLocal would do the same.

But how do I invoke TaskNonce, what is the best way to generate a RDD to
ensure that there is one element per executor.

Deenar 



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Running-a-task-once-on-each-executor-tp3203p3208.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to