Re: Test search in riak

2012-12-19 Thread rambocoder
Also note that once you add the precommit hook to enable search on the bucket, you need to update your values because just adding the search hook will not add the existing data to the index. I wish there was a built in function in riak search to reindex a bucket, otherwise I ended up writing code t

Re: Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-19 Thread Jared Morrow
We haven't test 15b03 with Riak. Try 15b01 and see if your problems continue. -Jared On Wed, Dec 19, 2012 at 3:30 PM, Chenini, Mohamed wrote: > I installed Erlang R15B03 and re-installed riak but I am still seeing > the same error when I start a riak node: > > ~/riak-1.2.1/dev> dev1/bin/riak

Re: Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-19 Thread Evan Vigil-McClanahan
For some reason your version of erlang is printing the string "Running Erlang" every time it starts. It doesn't normally do this. I am not sure where this error is coming from, as it doesn't seem to be a normal part of starting erlang. On Wed, Dec 19, 2012 at 5:30 PM, Chenini, Mohamed wrote: >

Re: Test search in riak

2012-12-19 Thread Brian Sparrow
Hi Payal, You need to enable the search kv hook on the bucket[1]. Hope that helps. [1] http://docs.basho.com/riak/latest/cookbooks/Riak-Search---Indexing-and-Querying-Riak-KV-Data/#Setting-up-Indexing Thanks, Brian -- Brian Sparrow Developer Advocate Basho Technologies On Wednesday, Decemb

Test search in riak

2012-12-19 Thread Payal Rakshit
I am a new riak user. I am able to save text document as value in a bucket in riak . Also i have enabled search by modifying the app.config. Now if i try to search somethin in any of the text i dont get a result. Your help would be much appreciated. Thanks __

RE: Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-19 Thread Chenini, Mohamed
I installed Erlang R15B03 and re-installed riak but I am still seeing the same error when I start a riak node: ~/riak-1.2.1/dev> dev1/bin/riak start Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config Running Erlang ok ~/riak-1.2.1/dev> dev2/bin/riak start Error reading /home/u1c332/ri

Re: Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-19 Thread Evan Vigil-McClanahan
Err, this should go to the list as well. On Wed, Dec 19, 2012 at 3:59 PM, Evan Vigil-McClanahan wrote: > 1.2.1 is meant to be built with R15B01 with HIPE disabled. > > As for that error, it looks like erlang is producing some unexpected > output (the 'Running Erlang' part). It should be working,

Getting Error reading /home/u1c332/riak-1.2.1/dev/dev1/etc/app.config

2012-12-19 Thread Chenini, Mohamed
I installed riak-1.2.1 and ran make devrel ~/riak-1.2.1/dev> ll total 16 drwxr-x--- 9 u1c332 wasgroup 4096 2012-12-19 15:23 dev1 drwxr-x--- 9 u1c332 wasgroup 4096 2012-12-19 15:23 dev2 drwxr-x--- 9 u1c332 wasgroup 4096 2012-12-19 15:24 dev3 drwxr-x--- 9 u1c332 wasgroup 4096 2012-12-19 15:25 d

Re: Riak MR returns JSON Object on occasion

2012-12-19 Thread Evan Vigil-McClanahan
It looks like mochijson2 has an assumption that anything that looks like a proplist (a list of 2-tuples) gets turned into a hash. 7> list_to_binary(mochijson2:encode([{a , b}, {foo, bar}])). <<"{\"a\":\"b\",\"foo\":\"bar\"}">> This is likely something that should be documented, but it doesn't see

Re: Riak MR returns JSON Object on occasion

2012-12-19 Thread Elias Levy
Resending as I did not get a response from Basho folks. Is this expected behavior? On Fri, Dec 14, 2012 at 5:08 PM, Elias Levy wrote: > It appears that the Riak MR API can on occasions return a JSON Object, > rather than an Array. This blows up the Ruby client, and I am guessing > probably so

{error, <<"timeout">>}

2012-12-19 Thread Jorge Garrido
Hi Recently I have had some problems in my cluster on Riak, when I make a put on a node, Riak sends {error, <<"timeout">>}, I dont know which is the cause, all nodes in the cluster are agree. I use protobuffs to connect erlang client application to Riak, but when {error, <<"timeout">>} happen

Re: where did my data go when I write to riak?

2012-12-19 Thread Bryan Fink
On Wed, Dec 19, 2012 at 2:50 AM, David Montgomery wrote: > I am writing to riak and i get no errors. Then againgiven a key...,I > also get no data. Where did it go? How does one debug riak when you write > to riak..it looks like a success, get no data when get by key and get no > errors. H

Re: Trying to revamp the clj-riak driver

2012-12-19 Thread Michael Klishin
2012/12/19 bgp2396 > I did check out both of those, but as far as I could tell neither one > supported conflict resolution, or at least it's not documented. Welle supports passing it to welle.kv/store as :vclock: https://github.com/michaelklishin/welle/blob/master/src/clojure/clojurewerkz/well