spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Erlandson <...@redhat.com>
Subject Hygienic closures for scala function serialization
Date Tue, 31 Mar 2015 16:05:45 GMT

Under certain conditions, Scala will pull an entire class instance into a closure instead
of just particular value members of that class, which can knee-cap Spark's serialization of
functions in multiple ways.  I tripped over this last week, and wrote up the experience on
my blog.  I've since noticed a couple other user descriptions of the same scenario, so maybe
the post will be interesting to the community:

http://erikerlandson.github.io/blog/2015/03/31/hygienic-closures-for-scala-function-serialization/

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


Mime
View raw message