diff options
author | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-08-06 21:21:55 -0700 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@eecs.berkeley.edu> | 2013-08-06 21:21:55 -0700 |
commit | 338b7a7455c02371890590fb71eefaee587f9d0e (patch) | |
tree | 7e32093a00f87ff26239209ac2d006c5a8207ae4 /run | |
parent | 7db69d56f2d050842ecf6e465d2d4f1abf3314d7 (diff) | |
parent | 7c4b7a53b1b588c1d0d3e00e99d4d7c53dc1da3d (diff) | |
download | spark-338b7a7455c02371890590fb71eefaee587f9d0e.tar.gz spark-338b7a7455c02371890590fb71eefaee587f9d0e.tar.bz2 spark-338b7a7455c02371890590fb71eefaee587f9d0e.zip |
Merge branch 'master' of git://github.com/mesos/spark into sgd-cleanup
Conflicts:
mllib/src/main/scala/spark/mllib/util/MLUtils.scala
Diffstat (limited to 'run')
-rwxr-xr-x | run | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -72,7 +72,10 @@ esac # hard to kill the child with stuff like Process.destroy(). However, for # the Spark shell, the wrapper is necessary to properly reset the terminal # when we exit, so we allow it to set a variable to launch with scala. -if [ "$SPARK_LAUNCH_WITH_SCALA" == "1" ]; then +# We still fall back on java for the shell if this is a "release" created +# from make-distribution.sh since it's possible scala is not installed +# but we have everything we need to run the shell. +if [[ "$SPARK_LAUNCH_WITH_SCALA" == "1" && ! -f "$FWDIR/RELEASE" ]]; then if [ "$SCALA_HOME" ]; then RUNNER="${SCALA_HOME}/bin/scala" else |