GitHub user felixcheung reopened a pull request: https://github.com/apache/incubator-zeppelin/pull/727
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 <felixcheun...@hotmail.com> Date: 2016-02-12T04:46:20Z separate download, travis to retry download commit e9b22722799b85aea9f8d451bfb1c7aa3afdcb80 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2016-02-12T22:42:24Z change timeout value commit 1e9e64296bb7c6c2455ecf068ab7c192c811a62e Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2016-02-14T05:01:11Z fix version check commit 44ac10f2159902e507dcad52af2e88ff73752682 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2016-02-19T03:07:01Z change permission commit 653c5bf9321468f6994d5c001ede3a8710dfe2a4 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2016-02-19T05:34:36Z fix start spark script commit 5bfebea4b195c4ae63348cab67e6afa8ee930bb0 Author: Felix Cheung <felixcheun...@hotmail.com> Date: 2016-02-19T20:10:26Z up timeout duration ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---