GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/13568
[SPARK-12712] Fix failure in ./dev/test-dependencies when run against empty
.m2 cache
This patch fixes a bug in `./dev/test-dependencies.sh` which caused
spurious failures when the script was run on a machine with an empty `.m2`
cache. The problem was that extra log output from the dependency download was
conflicting with the grep / regex used to identify the classpath in the Maven
output. This patch fixes this issue by adjusting the regex pattern.
Tested manually with the following reproduction of the bug:
```
rm -rf ~/.m2/repository/org/apache/commons/
./dev/test-dependencies.sh
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark SPARK-12712
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13568.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 #13568
----
commit c88cfe899a41d378db57efe98231cc12342d15c2
Author: Josh Rosen <[email protected]>
Date: 2016-06-06T21:23:01Z
Change regex in dev/test-dependencies.
----
---
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]