Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
03906f7f
Commit
03906f7f
authored
11 years ago
by
Matei Zaharia
Browse files
Options
Downloads
Patches
Plain Diff
Fixes to compute-classpath on Windows
parent
e49bc8ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/compute-classpath.cmd
+2
-2
2 additions, 2 deletions
bin/compute-classpath.cmd
run2.cmd
+1
-0
1 addition, 0 deletions
run2.cmd
with
3 additions
and
2 deletions
bin/compute-classpath.cmd
+
2
−
2
View file @
03906f7f
...
...
@@ -6,7 +6,7 @@ rem script and the ExecutorRunner in standalone cluster mode.
set
SCALA_VERSION
=
2
.9.3
rem Figure out where the Spark framework is installed
set
FWDIR
=
%~dp0
\
..
set
FWDIR
=
%~dp0
..
\
rem Load environment variables from conf\spark-env.cmd, if it exists
if
exist
"
%FWDIR%
conf\spark-env.cmd"
call
"
%FWDIR%
conf\spark-env.cmd"
...
...
@@ -45,7 +45,7 @@ rem Add Scala standard library
set
CLASSPATH
=
%CLASSPATH%
;
%SCALA_HOME%
\lib\scala
-library
.jar
;
%SCALA_HOME%
\lib\scala
-compiler
.jar
;
%SCALA_HOME%
\lib\jline.jar
rem A bit of a hack to allow calling this script within run2.cmd without seeing output
if
"
x
%DONT_PRINT_CLASSPATH%
"
==
"
x
1"
goto
exit
if
"
%DONT_PRINT_CLASSPATH%
"
==
"1"
goto
exit
echo
%CLASSPATH%
...
...
This diff is collapsed.
Click to expand it.
run2.cmd
+
1
−
0
View file @
03906f7f
...
...
@@ -48,6 +48,7 @@ set REPL_DIR=%FWDIR%repl
rem Compute classpath using external script
set
DONT_PRINT_CLASSPATH
=
1
call
"
%FWDIR%
bin\compute-classpath.cmd"
set
DONT_PRINT_CLASSPATH
=
0
rem Figure out the JAR file that our examples were packaged into.
rem First search in the build path from SBT:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment