ClientHTTPFile

Derek Boonstra dboonstra at veoh.com
Wed Nov 14 17:08:35 UTC 2007


John,

After post, I noted that my observations were not all fully correct. 
I was concerned that my query was too erroneous for response.

Your notes help tremendously, thanks!

 

-----Original Message-----
From: John Berthels [mailto:jjberthels at gmail.com] 
Sent: Wednesday, November 14, 2007 6:54 AM
To: Derek Boonstra
Cc: mogilefs at lists.danga.com
Subject: Re: ClientHTTPFile

Sorry for the slow reply.

On 09/11/2007, Derek Boonstra <dboonstra at veoh.com> wrote:
> I was testing the client ->new_file() option of 'largefile' as 
> described in the change log below.
[snip]

> 1)
> Is it possible that ClientHTTPFile.pm may work ?

Yes it should, but it requires that the back-end store support
Content-range (partial PUT). The tests should skip with an appropriate
message if the store you test against doesn't have these features.

(edit_file won't work for you unless the back-end also supports DAV
MOVE).

> 2)
> If mogstored doesn't support range puts, would installing the 
> chunked-put branch of PerlBal enable the feature ?

An approach which should work is to run mogstored with an apache DAV
server. You can either use the --server=apache option or use
--server=none and run against an existing apache DAV setup. (You can get
away without running mogstored at all, but you have to play around with
usage tracking and fsck performance will be poor).

hope this helps,

jb


More information about the mogilefs mailing list