[ https://issues.apache.org/jira/browse/SPARK-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14311588#comment-14311588 ]
Grant Henke commented on SPARK-5635: ------------------------------------ The method I listed I thought to be a workaround and not necessarily intended functionality. Especially because I need to add exit to the bottom of the script to be sure I break out of interactive mode. I suggest adding the functionality to spark-submit because spark-shell does not share/support all features of spark-submit's functionality. Instead it supports uses and features around interactive/client use. This functionality is very similar to passing a Python script to spark-submit so it appeared the correct place to run a Scala script as well. > Allow users to run .scala files directly from spark-submit > ---------------------------------------------------------- > > Key: SPARK-5635 > URL: https://issues.apache.org/jira/browse/SPARK-5635 > Project: Spark > Issue Type: New Feature > Components: Spark Core, Spark Shell > Reporter: Grant Henke > Priority: Minor > > Similar to the python functionality allow users to submit ".scala" files. > Currently the way I simulate this is to use spark-shell and run: `spark-shell > -i myscript.scala` > Note: user needs to add "exit" to the bottom of the script. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org