GitHub user brkyvz opened a pull request:
https://github.com/apache/spark/pull/4215
[WIP][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
`--maven`.
Additional remote repositories (like SonaType) can be supplied as a
comma-delimited string after the flag
`--maven_repos`.
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:**
- [ ] add docs for the methods
- [ ] take local ivy cache path as an argument
- [ ] add tests if possible. I have no idea what kind of tests I can add
for such a functionality
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brkyvz/spark SPARK-5341ivy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4215.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4215
----
commit 882c4c8bba9793fff7bf4998f81f518bd5af9371
Author: Burak Yavuz <[email protected]>
Date: 2015-01-26T20:52:46Z
added maven dependency download
commit 6645af42b65b1e5bc1c37065e8e07bc55c58be1a
Author: Burak Yavuz <[email protected]>
Date: 2015-01-27T01:07:22Z
[SPARK-5341] added base implementation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]