Here is the other thread on Spark.publish() during a Spark.function() call.
@Dave said he would take a look at it.