Skip to content

Commit

Permalink
Merge pull request apache#451 from Qiuzhuang/master
Browse files Browse the repository at this point in the history
Fixed Window spark shell launch script error.

 JIRA SPARK-1029:https://spark-project.atlassian.net/browse/SPARK-1029
(cherry picked from commit d749d47)

Signed-off-by: Patrick Wendell <[email protected]>
  • Loading branch information
pwendell committed Jan 17, 2014
1 parent 4ae8a4b commit 7b0d5a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/spark-class2.cmd
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ for %%d in ("%TOOLS_DIR%\target\scala-%SCALA_VERSION%\spark-tools*assembly*.jar"

rem Compute classpath using external script
set DONT_PRINT_CLASSPATH=1
call "%FWDIR%sbin\compute-classpath.cmd"
call "%FWDIR%bin\compute-classpath.cmd"
set DONT_PRINT_CLASSPATH=0
set CLASSPATH=%CLASSPATH%;%SPARK_TOOLS_JAR%

Expand Down
4 changes: 2 additions & 2 deletions bin/spark-shell.cmd
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ rem limitations under the License.
rem

rem Find the path of sbin
set SBIN=%~dp0..\sbin\
set BIN=%~dp0..\bin\

cmd /V /E /C %SBIN%spark-class2.cmd org.apache.spark.repl.Main %*
cmd /V /E /C %BIN%spark-class2.cmd org.apache.spark.repl.Main %*

0 comments on commit 7b0d5a5

Please sign in to comment.