Return-Path: Delivered-To: apmail-incubator-whirr-dev-archive@minotaur.apache.org Received: (qmail 86623 invoked from network); 7 Feb 2011 16:54:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Feb 2011 16:54:20 -0000 Received: (qmail 55408 invoked by uid 500); 7 Feb 2011 16:54:20 -0000 Delivered-To: apmail-incubator-whirr-dev-archive@incubator.apache.org Received: (qmail 55381 invoked by uid 500); 7 Feb 2011 16:54:18 -0000 Mailing-List: contact whirr-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: whirr-dev@incubator.apache.org Delivered-To: mailing list whirr-dev@incubator.apache.org Received: (qmail 55364 invoked by uid 99); 7 Feb 2011 16:54:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 16:54:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Feb 2011 16:54:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6C5BB196DB2 for ; Mon, 7 Feb 2011 16:53:57 +0000 (UTC) Date: Mon, 7 Feb 2011 16:53:57 +0000 (UTC) From: "Andrei Savu (JIRA)" To: whirr-dev@incubator.apache.org Message-ID: <862780096.15.1297097637425.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <12941830.369521295018746083.JavaMail.jira@thor> Subject: [jira] Issue Comment Edited: (WHIRR-207) Handle curl timeouts better MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WHIRR-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991465#comment-12991465 ] Andrei Savu edited comment on WHIRR-207 at 2/7/11 4:52 PM: ----------------------------------------------------------- We are seeing this failure because we do at the beginning of script {{set -e}} and we don't handle the curl exit code (18). The loop and the retry are never executed in this failure scenario. was (Author: savu.andrei): We are seeing this failure because we do at the beginning of script {{set -e}} and we don't handle the curl exit code (18). The loop and the retry is never executed in this failure scenario. > Handle curl timeouts better > --------------------------- > > Key: WHIRR-207 > URL: https://issues.apache.org/jira/browse/WHIRR-207 > Project: Whirr > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Lars George > Fix For: 0.4.0 > > > I have had that happen before and now again. We need to handle this better: > {code} > + for i in '`seq 1 3`' > + curl --retry 3 --silent --show-error --fail -O http://archive.apache.org/dist/hbase/hbase-0.20.6/hbase-0.20.6.tar.gz > curl: (18) transfer closed with 12646997 bytes remaining to read > {code} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira