You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
in scala 2.11 a new option -Yrepl-class-based was added to the repl. The main motivation was to make code in repl serializable by default and available for use over the wire. More details here -Yrepl-class-based .
This feature allowed spark to significantly simplify their code for repl for scala-2.11. But it broke scala-notebook.
Symptoms:
when anonymous closure is used in RDD transformation in the local mode it hangs when closure captures local variable in the same cell. In the standalone mode any anonymous closure in a RDD transformation results in error like "ClassNotFoundException - class $anonfun$ is not found".