Skip to content

Serialization/classloading issues on spark 1.5 and scala 2.11 #481

@PanAeon

Description

@PanAeon

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions