Repository: hadoop Updated Branches: refs/heads/HDFS-1312 4f38f88b2 -> a65c707c0
HADOOP-13012. yetus-wrapper should fail sooner when download fails (Steven Wong via aw) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c7484eb5 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c7484eb5 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c7484eb5 Branch: refs/heads/HDFS-1312 Commit: c7484eb54141a757b1e1829d83912ae39f6a304d Parents: 2753185 Author: Allen Wittenauer <[email protected]> Authored: Sat Apr 30 12:18:04 2016 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Sat Apr 30 12:18:04 2016 -0700 ---------------------------------------------------------------------- dev-support/bin/yetus-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/c7484eb5/dev-support/bin/yetus-wrapper ---------------------------------------------------------------------- diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index b064925..fd416d6 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -115,7 +115,7 @@ if [[ $? != 0 ]]; then fi if [[ -n "${CURLBIN}" ]]; then - "${CURLBIN}" -s -L -O "${BASEURL}/${TARBALL}.gz" + "${CURLBIN}" -f -s -L -O "${BASEURL}/${TARBALL}.gz" if [[ $? != 0 ]]; then yetus_error "ERROR: yetus-dl: unable to download ${BASEURL}/${TARBALL}.gz" exit 1 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
