Skip to content

Conversation

@JoshRosen
Copy link
Contributor

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

@srowen
Copy link
Member

srowen commented Jun 8, 2016

+1

1 similar comment
@skonto
Copy link
Contributor

skonto commented Jun 8, 2016

+1

@SparkQA
Copy link

SparkQA commented Jun 8, 2016

Test build #60197 has finished for PR 13568 at commit c88cfe8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor Author

Merging to master, 2.0, and branch-1.6.

asfgit pushed a commit that referenced this pull request Jun 9, 2016
… 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
```

Author: Josh Rosen <[email protected]>

Closes #13568 from JoshRosen/SPARK-12712.

(cherry picked from commit 921fa40)
Signed-off-by: Josh Rosen <[email protected]>
@asfgit asfgit closed this in 921fa40 Jun 9, 2016
asfgit pushed a commit that referenced this pull request Jun 9, 2016
… 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
```

Author: Josh Rosen <[email protected]>

Closes #13568 from JoshRosen/SPARK-12712.

(cherry picked from commit 921fa40)
Signed-off-by: Josh Rosen <[email protected]>
@JoshRosen JoshRosen deleted the SPARK-12712 branch June 9, 2016 08:22
zjffdu pushed a commit to zjffdu/spark that referenced this pull request Jun 10, 2016
… 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
```

Author: Josh Rosen <[email protected]>

Closes apache#13568 from JoshRosen/SPARK-12712.
zzcclp pushed a commit to zzcclp/spark that referenced this pull request Jun 12, 2016
… 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
```

Author: Josh Rosen <[email protected]>

Closes apache#13568 from JoshRosen/SPARK-12712.

(cherry picked from commit 921fa40)
Signed-off-by: Josh Rosen <[email protected]>
(cherry picked from commit bb917fc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants