You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Neelesh Srinivas Salian (JIRA)" <ji...@apache.org> on 2015/12/12 19:19:46 UTC

[jira] [Commented] (SPARK-12303) Configuration parameter by which can choose if we want the REPL generated class directory name to be random or fixed name.

    [ https://issues.apache.org/jira/browse/SPARK-12303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054515#comment-15054515 ] 

Neelesh Srinivas Salian commented on SPARK-12303:
-------------------------------------------------

Hi piyush,

Thanks for opening the JIRA.
Going by your description, I see you intend to change:
{code}
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)
    }
    if (SPARK_DEBUG_REPL) {
      echo("Output directory: " + outputDir)
    } 
{code}
Could you please elaborate on what the benefit of having that option would do? It will create the directory based on your conf settings.

 

> Configuration parameter by which  can choose if we want the REPL generated class directory name to be random or fixed name.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-12303
>                 URL: https://issues.apache.org/jira/browse/SPARK-12303
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Shell
>            Reporter: piyush
>            Priority: Minor
>
>  .class generated by spark REPL are stored in a temp directory with random name.
> Configuration parameter by which  can choose if we want the REPL generated class directory name to be random or fixed name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org