[ https://issues.apache.org/jira/browse/SPARK-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308776#comment-14308776 ]
Sean Owen commented on SPARK-5635: ---------------------------------- spark-shell uses spark-submit, and spark-shell is the already the thing that can ingest source code. You can run a .scala file as you say already this way. What is needed beyond this? > 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