Alternative to Luwak??

2011-02-18 Thread Aditya Patadia
Hello, can anyone tell me is there any alternative to Luwak to store large files.??? I want some open source solution alternative to Luwak which splits the large files in small chunks and then stores the file in Riak database. I would also like to store metadata of the file in the Riak.. Please

Re: Number of replica for Luwak

2011-02-18 Thread Les Mikesell
On 2/18/11 6:34 PM, Ryan Zezeski wrote: I realized what I just said is confusing. I start out saying there is no N/W/R in Luwak and end by saying essentially the opposite. Maybe I shouldn't reply on my iPhone while drinking a beer on my front stoop? Such a nice night in Baltimore. Luwak has

Riak search question (Python)

2011-02-18 Thread Mike Stoddart
I'm experimenting with Riak Search; I'm storing tweets and then trying to query them. My code to store a tweet is: tweet = bucket.new(str(uuid.uuid1()), data={ 'name': s.user.name, 'text': s.text,

Re: Number of replica for Luwak

2011-02-18 Thread Ryan Zezeski
I realized what I just said is confusing. I start out saying there is no N/W/R in Luwak and end by saying essentially the opposite. Maybe I shouldn't reply on my iPhone while drinking a beer on my front stoop? Such a nice night in Baltimore. Luwak has no _direct_ notion of N/W/R. You can't cal

Re: Luwak documentation

2011-02-18 Thread Mark Phillips
On Fri, Feb 18, 2011 at 3:47 PM, Ryan Zezeski wrote: > Aditya, > > Do a search for Luwak on github.  It has a decent summary on the main page. > https://github.com/basho/luwak (I believe this is what Ryan would have sent along had he not been responding from his iphone...) Mark ___

Re: Luwak documentation

2011-02-18 Thread Ryan Zezeski
Aditya, Do a search for Luwak on github. It has a decent summary on the main page. -Ryan [Sent from my iPhone] On Feb 18, 2011, at 4:43 PM, Aditya Patadia wrote: > Please give me a link from which i can find full luwak documentation. I want > to see the metadata of a file stored in Luwak bu

Re: Number of replica for Luwak

2011-02-18 Thread Ryan Zezeski
Hi Aditya, There are no concepts of N, W, or R in Luwak. This is because Luwak is built _on top_ of Riak. To be more specific, Luwak takes a large file and chunks it into smaller pieces. These smaller pieces are then hashed, and stored under a key equal to the hash value. That is, Luwak use

Riak Recap for Feb. 16 - 17

2011-02-18 Thread Mark Phillips
Evening, Morning, Afternoon to All, Here's a tidy Recap to send you into the weekend. (Quick note: Monday is a holiday in the U.S., so I won't be writing a Recap. If someone wants to step up and write it in my absence that would be great. If not, regularly scheduled Recaps will pick back up on We

Re: Riak Java Client

2011-02-18 Thread Wilson MacGyver
We use the java client, mostly in groovy. In terms of wish list 1: Protocol buffer support, this is addressed in the 0.14 version. 2: make the httpconnection max client setting work. I couldn't get this to work no matter what I do. It always only open 1 connection. 3: support no-data flag. I not

Luwak documentation

2011-02-18 Thread Aditya Patadia
Please give me a link from which i can find full luwak documentation. I want to see the metadata of a file stored in Luwak but could not find any way to retrieve it.. https://wiki.basho.com/Luwak.html this link does not provide details in depth. Please guide me... I want to use it as a redundant

Number of replica for Luwak

2011-02-18 Thread Aditya Patadia
How can I set the number of replica for the Luwak ?? I want to store atleast 4 replica of my files uploaded to luwak. One more thing.. how to set 'r' value and 'w' value for the luwak?? ___ riak-users mailing list riak-users@lists.basho.com http://lis

Re: Riak Search - querying numerical fields (No JSON object could be decoded)

2011-02-18 Thread Mike Stoddart
My mistake - my query format was wrong, [40 TO 100] works fine. Except run() returns a bunch of lists. Each list contains the bucket name and the timestamp. More reading required. Thanks Mike On Fri, Feb 18, 2011 at 11:51 AM, Mike Stoddart wrote: > My documents are structured like this: > > { >

Riak Search - querying numerical fields (No JSON object could be decoded)

2011-02-18 Thread Mike Stoddart
My documents are structured like this: { timestamp: '2011-02-02 08:00:00', count: 40, data { } } I want to query all documents where count > 40 so in Python I did: search_query = client.search('bucket', 'count:[40:*]') search_query.run() I got a

Re: 0.14 OSX riaksearch in inconsistent state

2011-02-18 Thread Gary William Flake
Thanks Francisco. Based on this hint, I succeeded in cleaning out a bucket by rewriting a dummy value (thus forcing reindexing) and then doing the remove. Moral of the story: install search hooks first. -- GWF On Fri, Feb 18, 2011 at 8:37 AM, francisco treacy wrote: > https://issues.basho.com

Re: 0.14 OSX riaksearch in inconsistent state

2011-02-18 Thread francisco treacy
https://issues.basho.com/show_bug.cgi?id=970 Francisco 2011/2/18 Gary William Flake : > I just ran a script on a my dev machine to remove everything in the > local riaksearch instance.  In the process, I found something very > strange.  Specifically, there exists objects in my instance that > can

0.14 OSX riaksearch in inconsistent state

2011-02-18 Thread Gary William Flake
I just ran a script on a my dev machine to remove everything in the local riaksearch instance. In the process, I found something very strange. Specifically, there exists objects in my instance that cannot be deleted (I get an error whenever I try) and that always appear with their data intact. H

Re: Can't start Riak Search

2011-02-18 Thread Mike Stoddart
No worries - I fully understand and appreciate it all the same. :) On Fri, Feb 18, 2011 at 10:24 AM, David Smith wrote: > I should note that we've not had a chance to validate these fedora > packages to the degree I'd like -- this was simply an > early-morning-coffee-sipping-I'm-gonna-try-and-bui

Re: Can't start Riak Search

2011-02-18 Thread David Smith
I should note that we've not had a chance to validate these fedora packages to the degree I'd like -- this was simply an early-morning-coffee-sipping-I'm-gonna-try-and-build-packages approach. :) When 0.14.1 lands, we should have sorted out these issues. Thanks, D. On Fri, Feb 18, 2011 at 8:22 A

Re: Can't start Riak Search

2011-02-18 Thread Mike Stoddart
Riak Search initially complained that the riakuser didn't exist so I created it. There's no riak user either so I'll create and check the config. Thanks Mike -- Sent from my Palm Pre On 18 Feb 2011 9:43 a.m., Sean Cribbs wrote: The "eaccess" error comes from either lacking f

Re: Can't start Riak Search

2011-02-18 Thread Sean Cribbs
The "eaccess" error comes from either lacking file permissions or the proper directory structure. In this case, it looks like bitcask could not access the data directory. Make sure those directories exist and belong to the "riak" user (there's no "riaksearch" user). Sean Cribbs Developer Advo

Can't start Riak Search

2011-02-18 Thread Mike Stoddart
I installed the new FC13 Riak Search 64bit RPM (onto FC12) but I'm having issues. I uninstalled Riak and deleted the old database files. I had to manually create the riaksearch user/group as well as the /var/lib/riaksearch/bitcask and /var/lib/riaksearch/ring directories. =INFO REPORT 18-Feb-2

Re: Python client performance issue

2011-02-18 Thread Mike Stoddart
Much better - using simplejson and return_body=False reduces CPU usage to 0.5-0.7%. Which is more consistent with other DBs. Thanks for your help! Mike On Mon, Feb 14, 2011 at 8:09 AM, Mike Stoddart wrote: > I added some code to my system to test writing data into Riak. I'm > using the Python cl

Re: Riak compile error on Fedora 12 (32 bit)

2011-02-18 Thread David Smith
I've uploaded FC13 i686 and x86_64 rpms of riak_search. Please note that the original upload was incomplete, so you'll need to regrab it. For completeness, here are the MD5s: 66cf44335d16d15904f0e5551e9d9f36 riak-search-0.14.0-1.fc13.i686.rpm 5e8d8a084d82eb79435cc29ff48a82fe riak-search-0.14.0-1

Re: Riak compile error on Fedora 12 (32 bit)

2011-02-18 Thread Mike Stoddart
Great thanks! Any chance you could put up a 64 bit riak search for FC12/13 as well please? Sorry to be a nuisance! Thanks Mike On Thu, Feb 17, 2011 at 4:15 PM, David Smith wrote: > http://downloads.basho.com/riak-search/CURRENT/riak-search-0.14.0-1.fc13.i686.rpm > > FWIW, we will have Fedora 32/

Re: Searching by non-key value

2011-02-18 Thread Yury Dorofeev
Hi Alexander! Thank you for your answer! But the reason I wrote questions was I have already read the documentation and still have not found the answer. That is why I send my mail yesterday. I want to find clear explanation and examples. Has nobody asked similar questions before me? If you know