Skip to content

loadFiles() in ILoop was removed in Scala 2.11.12 which breaks Apache Spark #10913

@dbtsai

Description

@dbtsai

We're migrating to Scala 2.11.12 for JDK9+ support, and we found that loadFIles() in ILoop was removed in Scala 2.11.12.

We use it as a hack to initialize the Spark before REPL sees any files.

https://github.com/apache/spark/blob/master/repl/scala-2.11/src/main/scala/org/apache/spark/repl/SparkILoop.scala#L109

Is it possible to provide a hook for this?

Thanks.

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