GitHub user Myllyenko opened a pull request:

    Fix for TOREE-430

    To fix TOREE-430, REPL-generated classes must be made visible to a 
    The only working way I found is to set the `spark.repl.class.outputDir` 
system property (and subsequently the corresponding Spark configuration 
property) to a path to an output directory of a REPL compiler. To achieve that, 
I had to move `SparkIMain` initialisation before creation of `SparkContext`.

You can merge this pull request into a Git repository by running:

    $ git pull TOREE-430

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #129
commit 2de78a0c50237bd2166843fd89982022d45a41b0
Author: Igor Melnichenko <>
Date:   2017-08-04T11:11:13Z

    Fixed TOREE-430 by setting the spark.repl.class.outputDir system property 
to a path to an output directory of a REPL compiler in the Scala 2.10 
    (cherry picked from commit 72261a6eb9759b0f0cae89793fdac25976d10c48)
    # Conflicts:


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to