Re: Why is the data lost in luwak

2011-12-07 Thread vuleetu
On Thu, Dec 8, 2011 at 1:57 PM, Kelly McLaughlin wrote: > Fisher, > > You need to call luwak_put_stream:close(Ps) to force the flush. That should > get it for you. Cheers. > > Kelly Hi, Kelly RiakNode = 'riak@127.0.0.1'. {ok, Riak} = riak:client_connect(RiakNode). {ok, RiakFile} = luwak_fi

Re: Why is the data lost in luwak

2011-12-07 Thread Kelly McLaughlin
Fisher, You need to call luwak_put_stream:close(Ps) to force the flush. That should get it for you. Cheers. Kelly On Dec 7, 2011, at 10:05 PM, vuleetu wrote: > luwak_put_stream:send(Ps, <<"56789">>). > luwak_put_stream:flush(Ps). > {ok, RiakFile3} = luwak_file:get(Riak, <<"testabc22yeah3">>).

Re: Why is the data lost in luwak

2011-12-07 Thread vuleetu
On Wed, Dec 7, 2011 at 11:56 PM, Kelly McLaughlin wrote: > > Fisher, > > In the cases where you see file size discrepancies, are you able to retrieve > those files intact from riak? Having a node in the cluster with an unstable > network connection should not cause data loss because replicas sho

Re: Riak for FTP or WebDAV server backend?

2011-12-07 Thread Eric Fong
Hi Yes, I visited that project before. But seems that project is not active (last commit is Jun 2010). I am afraid that is not stable enough for production. Eric On Thu, Dec 8, 2011 at 11:16 AM, Joseph Lambert wrote: > I believe he is talking about: https://github.com/crucially/riakfuse > > - J

Re: Riak for FTP or WebDAV server backend?

2011-12-07 Thread Joseph Lambert
I believe he is talking about: https://github.com/crucially/riakfuse - Joe Lambert On Thu, Dec 8, 2011 at 11:12 AM, Eric Fong wrote: > Hi > > Any link for the "riak as a file-system via fuse libraries"? > It will be easy to wrap FTP or WebDAV on top of that > > Eric > > On Thu, Dec 8, 2011 at

Re: Riak for FTP or WebDAV server backend?

2011-12-07 Thread Eric Fong
Hi Any link for the "riak as a file-system via fuse libraries"? It will be easy to wrap FTP or WebDAV on top of that Eric On Thu, Dec 8, 2011 at 10:59 AM, Scott Gonyea wrote: > This sounds like a fun project. There are riak as a file-system > libraries, such as fuse, although I have no clue a

Re: Riak for FTP or WebDAV server backend?

2011-12-07 Thread Scott Gonyea
This sounds like a fun project. There are riak as a file-system libraries, such as fuse, although I have no clue as to their sturdiness. So, that could be a swap-out-and-done kind of thing for the FTP server. Scott On Wed, Dec 7, 2011 at 6:50 PM, Eric Fong wrote: > Hi > > I would like to find

Riak for FTP or WebDAV server backend?

2011-12-07 Thread Eric Fong
Hi I would like to find a OTP App which is a FTP or WebDAV server but store file into riak instead of harddisk. So that we can have a masterless local cloud storage for any kind of files. Do we have similar project? -- Best Regards, Eric Fong ___ riak

Riak Recap for December 5 - 6

2011-12-07 Thread Mark Phillips
Afternoon, Evening, Morning to All - For today's Recap: new code, slides, blogs, and more. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups --- Riak Recap for December 5 - 6 === 1) We merged an additio

Re: Updated Chef Cookbook for Riak 1.0.2

2011-12-07 Thread Sean Carey
Quick Correction, Please use the Basho repositories. To see the Readme and clone. If you would like to contribute, please feel free to fork our GitHub repository: https://github.com/basho/riak-chef-cookbook The Readme file can be found on GitHub: https://github.com/basho/riak-chef-cookboo

Updated Chef Cookbook for Riak 1.0.2

2011-12-07 Thread Sean Carey
Dear Riak Users, We are pleased to announce that the Riak Chef Cookbook has been updated. You can now install and configure the latest version of Riak (1.0.2) with the Chef configuration management tools. You can download the cookbook from the OpsCode Community site: http://community.ops

Re: Why is the data lost in luwak

2011-12-07 Thread Kelly McLaughlin
Fisher, In the cases where you see file size discrepancies, are you able to retrieve those files intact from riak? Having a node in the cluster with an unstable network connection should not cause data loss because replicas should be saved to other nodes in your cluster, but it may cause some i

About the file size in luwak

2011-12-07 Thread vuleetu
Hi, All Right now, the size get from luwak is not the same as record in our datbase. Can i use the way to get rid of these broken files: 1) After write file to luwak using luwak_put_stream:send(), then call luwak_put_stream:close() to close the put stream. 2) Use luwak_put_stream:stat