Re: Listen to Put Event in Riak

2011-11-16 Thread Russell Brown
On 17 Nov 2011, at 02:59, Eric Fong wrote: > Hi > > I have Riak servers A, B and C. > As I know, assume I put my data into Riak server A via HTTP interface, > I will hashed and determined to be stored in some other servers. May be > finally stored into B and C. > > What I want is listen to t

Regarding Data Information On Riak Cluster

2011-11-16 Thread Sagar Virani
Respected Sir/Madam, I want to know whether we can get the exact location of the data that is placed on to the Riak Cluster. Say, for example, the cluster consists of 100 nodes viz. n1 to n100. We put some data, say, d1 from the node n5. The replication parameter is 3. The riak sends this data to

rebar and validate_app_modules property

2011-11-16 Thread Dmitry Demeshchuk
Hi, guys. I've recently noticed that newest rebar requires .app.src files to list the modules to be compiled, unless {validate_app_modules, false} property is set in rebar.config: https://github.com/basho/rebar/blob/master/src/rebar_otp_app.erl#L57 Is this done by some purpose? I'm asking because

Listen to Put Event in Riak

2011-11-16 Thread Eric Fong
Hi I have Riak servers A, B and C. As I know, assume I put my data into Riak server A via HTTP interface, I will hashed and determined to be stored in some other servers. May be finally stored into B and C. What I want is listen to the upload event. And one and only one of them A, B, C kick off s

Riak Recap for November 14 - 15

2011-11-16 Thread Mark Phillips
Afternoon, Evening, Morning - Today's Recap comes to you live from QConSF. Drop me a line if you're here and want to grab a beer. Enjoy. Mark Community Manager Basho Technologies wiki.basho.com twitter.com/pharkmillups Riak Recap for November 14 - 15 ==

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Elias Levy
On Wed, Nov 16, 2011 at 12:20 PM, wrote: > From: Paul Gross > > Alternatively, riak could be more generic and take a function that would > run in riak and update the documents without having to return them all > to the client. > You should already be able to do this, but it requires writting a m

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Nate Lawson
On Nov 16, 2011, at 11:41 AM, Rusty Klophaus wrote: >> 2. We need a guaranteed order of inputs from a 2I query. If we select on a >> range, each key we get on a given node in the M-R job should be ordered >> according to the 2I values. Of course we understand that keys won't be >> ordered acros

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Paul Gross
On 11/16/11 2:20 PM, Alexander Sicular wrote: Because of the way riak stores a key's value as basically one big blob in one place on disk, I don't think it is possible. This is akin to the often requested ability to update a keys meta data independent of its "value". But as far as riak storag

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Alexander Sicular
Because of the way riak stores a key's value as basically one big blob in one place on disk, I don't think it is possible. This is akin to the often requested ability to update a keys meta data independent of its "value". But as far as riak storage is concerned there is no real difference betwee

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Paul Gross
- What is your wish list for the future of Secondary Indexes? One thing that I would like to see is the ability to add secondary indexes after the fact to existing objects. The use case I'm thinking of is: 1. I have a bucket of users, where the key is generated and the value is a hash o

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Rusty Klophaus
Hi Gordon, Thanks for your feedback! Some follow up questions below: For example, with search I can specify something like this to generate my > input to map-reduce: > > p:foo AND t:bar (give me all the objects whose parent "p" is foo and that > hav tag "t" of bar). > > So that would get fed to

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Rusty Klophaus
Hi Nate, Thank you for your feedback, this is good stuff. Some follow up questions inline below: > 2. We need a guaranteed order of inputs from a 2I query. If we select on a > range, each key we get on a given node in the M-R job should be ordered > according to the 2I values. Of course we under

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Gordon Tillman
On Nov 16, 2011, at 11:57 , Rusty Klophaus wrote: > Now that you've had a few weeks to investigate and experiment with > Secondary Indexes, I'm hoping to hear about your experiences to help > us focus future development efforts most effectively: > Have you tried Secondary Indexes? > Does the featu

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Nate Lawson
On Nov 16, 2011, at 9:57 AM, Rusty Klophaus wrote: > Now that you've had a few weeks to investigate and experiment with > Secondary Indexes, I'm hoping to hear about your experiences to help > us focus future development efforts most effectively: > • Have you tried Secondary Indexes? >

Re: Eleveldb backend randomly chewing all disk

2011-11-16 Thread Nate Lawson
On Nov 16, 2011, at 5:50 AM, David Smith wrote: > On Tue, Nov 15, 2011 at 6:01 PM, Jeremy Raymond wrote: >> I've seen issues when leveldb runs out of file handles. The leveldb >> log then fills with error messages. > > Hmm -- this could be. However, I would expect that the Erlang VM would > even

Re: Eleveldb backend randomly chewing all disk

2011-11-16 Thread Jeremy Raymond
No had this happening a few weeks ago. I just upped the file hand limits on the OS and the problem went away. -- Jeremy On Nov 16, 2011, at 8:50 AM, David Smith wrote: > On Tue, Nov 15, 2011 at 6:01 PM, Jeremy Raymond wrote: >> I've seen issues when leveldb runs out of file handles. The leveld

Secondary Indexes - Feedback?

2011-11-16 Thread Rusty Klophaus
Hello Riak Users, The Basho team recently released Riak 1.0 which introduced a new feature called Secondary Indexes. This feature allows you to tag Riak objects with additional metadata, and then later query the indexed metadata to retrieve the objects. (See http://wiki.basho.com/Secondary-Indexe

Re: i2 roadmap?

2011-11-16 Thread Rusty Klophaus
Hi Elias, Thank you, this is excellent feedback. I am literally minutes away from sending out an email to this group soliciting 2i feedback to help us focus our efforts. We have a rough idea internally of what we would like to do going forward, but I'd prefer to gather feedback first before sayin

i2 roadmap?

2011-11-16 Thread Elias Levy
Is there some roadmap for 2i features? We are currently using search for indexing as we need to perform compound queries. After some testing I found that if we could use i2 we probably see 4-5x improvements in insert throughput and and 1.5-2x in querying times, depending on the query. We can wor

Re: riak java client

2011-11-16 Thread Russell Brown
On 16 Nov 2011, at 16:13, sergey wrote: > Thanks Russell, > ok, > I useDefaultRiakClient ( userName = "user1", userInfo = > "{"email":"em...@email.com","pass":"123123"}" ): > riakObject = RiakObjectBuilder.newBuilder("users", > userName).withContentType("application/json").withValue(userInfo).b

Re: riak java client

2011-11-16 Thread sergey
Thanks Russell, ok, I useDefaultRiakClient ( userName = "user1", userInfo = "{"email":"em...@email.com","pass":"123123"}" ): riakObject = RiakObjectBuilder.newBuilder("users", userName).withContentType("application/json").withValue(userInfo).build and store: client.fetchBucket("users").execute.

Re: Eleveldb backend randomly chewing all disk

2011-11-16 Thread David Smith
On Tue, Nov 15, 2011 at 6:01 PM, Jeremy Raymond wrote: > I've seen issues when leveldb runs out of file handles. The leveldb > log then fills with error messages. Hmm -- this could be. However, I would expect that the Erlang VM would eventually shutdown with errors about emfile in that situation.

Re: riak java client

2011-11-16 Thread Russell Brown
And too the list this time :$ Hi Sergey, On 16 Nov 2011, at 10:48, sergey wrote: > Hi! > How to set content type for store operation for java-pcb client? > b.store("key", "{"field":"value"}") - set content as text/plain, how set > content type as application/json? That is just a conveni

riak java client

2011-11-16 Thread sergey
Hi! How to set content type for store operation for java-pcb client? b.store("key", "{"field":"value"}") - set content as text/plain, how set content type as application/json? and how store binary data(image)? ___ riak-users mailing list riak-users@li