diff options
author | Matei Zaharia <matei@databricks.com> | 2014-05-19 15:02:35 -0700 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2014-05-19 15:02:35 -0700 |
commit | 7b70a7071894dd90ea1d0091542b3e13e7ef8d3a (patch) | |
tree | e24b0a208b0c2290e6f1b6a6beda520f36ed1fa3 /bin/spark-class2.cmd | |
parent | df0aa8353ab6d3b19d838c6fa95a93a64948309f (diff) | |
download | spark-7b70a7071894dd90ea1d0091542b3e13e7ef8d3a.tar.gz spark-7b70a7071894dd90ea1d0091542b3e13e7ef8d3a.tar.bz2 spark-7b70a7071894dd90ea1d0091542b3e13e7ef8d3a.zip |
[SPARK-1876] Windows fixes to deal with latest distribution layout changes
- Look for JARs in the right place
- Launch examples the same way as on Unix
- Load datanucleus JARs if they exist
- Don't attempt to parse local paths as URIs in SparkSubmit, since paths with C:\ are not valid URIs
- Also fixed POM exclusion rules for datanucleus (it wasn't properly excluding it, whereas SBT was)
Author: Matei Zaharia <matei@databricks.com>
Closes #819 from mateiz/win-fixes and squashes the following commits:
d558f96 [Matei Zaharia] Fix comment
228577b [Matei Zaharia] Review comments
d3b71c7 [Matei Zaharia] Properly exclude datanucleus files in Maven assembly
144af84 [Matei Zaharia] Update Windows scripts to match latest binary package layout
Diffstat (limited to 'bin/spark-class2.cmd')
-rwxr-xr-x | bin/spark-class2.cmd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/spark-class2.cmd b/bin/spark-class2.cmd index 4302c1b6b7..266edd9fa9 100755 --- a/bin/spark-class2.cmd +++ b/bin/spark-class2.cmd @@ -17,6 +17,8 @@ rem See the License for the specific language governing permissions and rem limitations under the License. rem +setlocal enabledelayedexpansion + set SCALA_VERSION=2.10 rem Figure out where the Spark framework is installed |