A Scala serialization puzzle we ran into while porting Spark to Scala 2.11
gist.github.com