[ 
https://issues.apache.org/jira/browse/WHIRR-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom White updated WHIRR-207:
----------------------------

    Attachment: WHIRR-207.patch

Unfortunately WHIRR-225 broke this patch completely, so I've generated an 
equivalent. The nice thing is that we only need one copy of the install_tarball 
function with the WHIRR-225 approach.

I've tested with ZooKeeper, but haven't done HBase yet, since it has some 
different semantics for resolving the tar name from the URL (this was a problem 
with the original patch too). Can we generalize the function to take an 
optional tar name too?

> 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
>            Assignee: Andrei Savu
>             Fix For: 0.4.0
>
>         Attachments: WHIRR-207.patch, WHIRR-207.patch, WHIRR-207.patch
>
>
> 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

        

Reply via email to