spark-instrumented-optimizer/bin
Burak Yavuz 6aed719e50 [SPARK-5341] Use maven coordinates as dependencies in spark-shell and spark-submit
This PR adds support for using maven coordinates as dependencies to spark-shell.
Coordinates can be provided as a comma-delimited string after the flag `--packages`.
Additional remote repositories (like SonaType) can be supplied as a comma-delimited string after the flag
`--repositories`.

Uses the Ivy library to resolve dependencies. Unfortunately the library has no decent documentation, therefore solving more complex dependency issues can be a problem.

pwendell, mateiz, mengxr

**Note: This is still a WIP. The following need to be handled:**
- [x] add docs for the methods
- [x] take local ivy cache path as an argument
- [x] add tests
- [x] add Windows compatibility
- [x] exclude unused Ivy dependencies

Author: Burak Yavuz <brkyvz@gmail.com>

Closes #4215 from brkyvz/SPARK-5341ivy and squashes the following commits:

9215851 [Burak Yavuz] ready to merge
db2a5cc [Burak Yavuz] changed logging to printStream
9dae87f [Burak Yavuz] file separators changed
71c374d [Burak Yavuz] merge conflicts fixed
c08dc9f [Burak Yavuz] fixed merge conflicts
3ada19a [Burak Yavuz] fixed Jenkins error (hopefully) and added comment on oro
43c2290 [Burak Yavuz] fixed that ONE line
231f72f [Burak Yavuz] addressed code review
2cd6562 [Burak Yavuz] Merge branch 'master' of github.com:apache/spark into SPARK-5341ivy
85ec5a3 [Burak Yavuz] added oro as a dependency explicitly
ea44ca4 [Burak Yavuz] add oro back to dependencies
cef0e24 [Burak Yavuz] IntelliJ is just messing things up
97c4a92 [Burak Yavuz] fix more weird IntelliJ formatting
9cf077d [Burak Yavuz] fix weird IntelliJ formatting
dcf5e13 [Burak Yavuz] fix windows command line flags
3a23f21 [Burak Yavuz] excluded ivy dependencies
53423e0 [Burak Yavuz] tests added
3705907 [Burak Yavuz] remove ivy-repo as a command line argument. Use global ivy cache as default
c04d885 [Burak Yavuz] take path to ivy cache as a conf
2edc9b5 [Burak Yavuz] managed to exclude Spark and it's dependencies
a0870af [Burak Yavuz] add docs. remove unnecesary new lines
6645af4 [Burak Yavuz] [SPARK-5341] added base implementation
882c4c8 [Burak Yavuz] added maven dependency download
2015-02-03 22:39:17 -08:00
..
beeline SPARK-3337 Paranoid quoting in shell to allow install dirs with spaces within. 2014-09-08 10:24:15 -07:00
beeline.cmd [SPARK-4683][SQL] Add a beeline.cmd to run on Windows 2014-12-04 10:21:03 -08:00
compute-classpath.cmd [SPARK-4048] Enhance and extend hadoop-provided profile. 2015-01-08 17:15:13 -08:00
compute-classpath.sh [SPARK-3996]: Shade Jetty in Spark deliverables 2015-02-01 21:13:57 -08:00
load-spark-env.sh Support cross building for Scala 2.11 2014-11-11 21:36:48 -08:00
pyspark [SPARK-4415] [PySpark] JVM should exit after Python exit 2014-11-14 20:14:33 -08:00
pyspark.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
pyspark2.cmd [SPARK-4415] [PySpark] JVM should exit after Python exit 2014-11-14 20:14:33 -08:00
run-example [SPARK-4504][Examples] fix run-example failure if multiple assembly jars exist 2015-01-19 12:00:33 -08:00
run-example.cmd moved user scripts to bin folder 2013-09-23 12:46:48 +08:00
run-example2.cmd [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
spark-class SPARK-5382: Use SPARK_CONF_DIR in spark-class if it is defined 2015-01-25 15:15:09 -08:00
spark-class.cmd sbin/spark-class* -> bin/spark-class* 2014-01-03 15:08:01 +05:30
spark-class2.cmd [SPARK-3775] Not suitable error message in spark-shell.cmd 2014-10-03 13:09:48 -07:00
spark-shell [SPARK-4161]Spark shell class path is not correctly set if "spark.driver.extraClassPath" is set in defaults.conf 2014-12-10 12:26:42 -08:00
spark-shell.cmd [SPARK-3943] Some scripts bin\*.cmd pollutes environment variables in Windows 2014-10-14 18:50:14 -07:00
spark-shell2.cmd [SPARK-3060] spark-shell.cmd doesn't accept application options in Windows OS 2014-12-19 19:22:42 -08:00
spark-sql [SPARK-4623]Add the some error infomation if using spark-sql in yarn-cluster mode 2014-11-30 16:19:41 -08:00
spark-submit [SPARK-4990][Deploy]to find default properties file, search SPARK_CONF_DIR first 2015-01-09 17:10:02 -08:00
spark-submit.cmd [SPARK-3943] Some scripts bin\*.cmd pollutes environment variables in Windows 2014-10-14 18:50:14 -07:00
spark-submit2.cmd [SPARK-4990][Deploy]to find default properties file, search SPARK_CONF_DIR first 2015-01-09 17:10:02 -08:00
utils.sh [SPARK-5341] Use maven coordinates as dependencies in spark-shell and spark-submit 2015-02-03 22:39:17 -08:00
windows-utils.cmd [SPARK-5341] Use maven coordinates as dependencies in spark-shell and spark-submit 2015-02-03 22:39:17 -08:00