GitHub user felixcheung opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/727
[WIP] Get travis to retry download of Spark release
### What is this PR for?
Refactor download and use travis' builtin mechanism to retry on failure -
hopefully it will then hit a different apache mirror; this should mitigate the
intermitted download failures that result in test failures
### What type of PR is it?
Improvement
### Todos
* [x] - Separate download script
* [x] - Travis to retry download step
* [x] - Add timeout to kill download if not complete in 5 min (need to tune
this)
* [x] - Add timer to log how long download takes
### Is there a relevant Jira issue?
N/A
### How should this be tested?
Travis
### Screenshots (if appropriate)
N/A
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/felixcheung/incubator-zeppelin retrydownload
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/727.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 #727
----
commit baf73a30bbb64b05d4ff37c4e388a9e87b0475a1
Author: Felix Cheung <[email protected]>
Date: 2016-02-12T04:46:20Z
separate download, travis to retry download
commit e9b22722799b85aea9f8d451bfb1c7aa3afdcb80
Author: Felix Cheung <[email protected]>
Date: 2016-02-12T22:42:24Z
change timeout value
commit 1e9e64296bb7c6c2455ecf068ab7c192c811a62e
Author: Felix Cheung <[email protected]>
Date: 2016-02-14T05:01:11Z
fix version check
----
---
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.
---