spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Erlandson <>
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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message