Github user squito commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9923#discussion_r46589628
  
    --- Diff: 
repl/scala-2.10/src/main/scala/org/apache/spark/repl/SparkIMain.scala ---
    @@ -96,10 +96,9 @@ import org.apache.spark.annotation.DeveloperApi
     
         private val SPARK_DEBUG_REPL: Boolean = 
(System.getenv("SPARK_DEBUG_REPL") == "1")
         /** Local directory to save .class files too */
    -    private lazy val outputDir = {
    -      val tmp = System.getProperty("java.io.tmpdir")
    -      val rootDir = conf.get("spark.repl.classdir",  tmp)
    -      Utils.createTempDir(rootDir)
    +    private[repl] val outputDir = {
    +      val rootDir = 
conf.getOption("spark.repl.classdir").getOrElse(Utils.getLocalDir(conf))
    --- End diff --
    
    this looks like the right change, but probably worth mentioning in the PR 
description that you're also changing the default dir where the repl class 
files get written.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to