-
Notifications
You must be signed in to change notification settings - Fork 28.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-3006] Failed to execute spark-shell in Windows OS #1918
Conversation
Modified the order of the options and arguments in spark-shell.cmd
Can one of the admins verify this patch? |
test this please |
@@ -19,4 +19,4 @@ rem | |||
|
|||
set SPARK_HOME=%~dp0.. | |||
|
|||
cmd /V /E /C %SPARK_HOME%\bin\spark-submit.cmd spark-shell --class org.apache.spark.repl.Main %* | |||
cmd /V /E /C %SPARK_HOME%\bin\spark-submit.cmd --class org.apache.spark.repl.Main spark-shell %* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, I just noticed this doesn't actually fix it all the way. You need to put %*
before spark-shell
as well
QA tests have started for PR 1918. This patch merges cleanly. |
QA results for PR 1918: |
re-modified the order of the arguments in order to accept submit options.
Thanks @andrewor14 to follow this PR. |
Doing the equivalent in #1825 is more involved and we may do that some time down the road. This is fine as is for now. LGTM. |
Thanks, merged into master and branch-1.1! |
Modified the order of the options and arguments in spark-shell.cmd Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp> Closes #1918 from tsudukim/feature/SPARK-3006 and squashes the following commits: 8bba494 [Masayoshi TSUZUKI] [SPARK-3006] Failed to execute spark-shell in Windows OS 1a32410 [Masayoshi TSUZUKI] [SPARK-3006] Failed to execute spark-shell in Windows OS (cherry picked from commit 9497b12) Signed-off-by: Andrew Or <andrewor14@gmail.com>
Modified the order of the options and arguments in spark-shell.cmd Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp> Closes apache#1918 from tsudukim/feature/SPARK-3006 and squashes the following commits: 8bba494 [Masayoshi TSUZUKI] [SPARK-3006] Failed to execute spark-shell in Windows OS 1a32410 [Masayoshi TSUZUKI] [SPARK-3006] Failed to execute spark-shell in Windows OS
Modified the order of the options and arguments in spark-shell.cmd