Re: cannot start solr, no logs

2016-04-04 Thread Vitaly E
the requested memory just is not available. Regards, Vitaly On Tue, Apr 5, 2016 at 7:45 AM, Vitaly E <13vitam...@gmail.com> wrote: > Hi, > > Could you give some more details? Which version of Riak? Your subject line > suggests that you cannot start Solr, but what do you mea

Re: cannot start solr, no logs

2016-04-04 Thread Vitaly E
Hi, Could you give some more details? Which version of Riak? Your subject line suggests that you cannot start Solr, but what do you mean by this? Can you start Riak successfully? Where are you looking for logs? Do you have search enabled in riak.conf (search = on)? Regards, Vitaly On Tue, Apr 5

Re: Cluster ready status for Riak S2

2016-04-01 Thread Vitaly E
Actually, 'riak-admin wait-for-service ' can be a good way of checking if a Riak service has fully started. For example, 'riak-admin wait-for-service riak_kv riak@127.0.0.1' ( http://docs.basho.com/riak/latest/ops/running/tools/riak-admin/#wait-for-service, more details in http://littleriakbook.co

Re: Continuous HTTP POSTs to Riak

2016-03-06 Thread Vitaly E
Hi Qiang, You mentioned that my suggestion to synchronize the clocks of your Riak nodes had solved the problem. Let me explain why -- it may clear things up for you. Riak uses vector clocks / version vectors to keep track

Re: Continuous HTTP POSTs to Riak

2016-03-04 Thread Vitaly E
Hi Qiang, Since you are running with allow_mult=false, make sure the clocks of your Riak nodes are synchronized. If they are out of sync, newer values may get overridden by older ones on read, depending on the node a request hits first. Of course this won't cover 100% of cases because a perfect cl

Re: Testing On A Single Node

2016-02-25 Thread Vitaly E
Hi Joe, A standalone node should behave similarly to a clustered node in terms of data persistence. Actually, I use single-node Riak setups (inside a VM) a lot for testing. The only differences are ring_size=8 and n_val=1, for performance reasons. So, it must be your Riak or VM configuration. Als

Re: Java Client - Maps - fetch only one entry

2016-02-25 Thread Vitaly E
; Cheers > Cos > > On 25 Feb 2016, at 19:56, Vitaly E <13vitam...@gmail.com> wrote: > > Hi Cosmin, > > Sorry for the dumb question, but if you are interested in a specific entry > why not to store it as a separate key? It would be easier for updates, too. > > R

Re: Java Client - Maps - fetch only one entry

2016-02-25 Thread Vitaly E
Hi Cosmin, Sorry for the dumb question, but if you are interested in a specific entry why not to store it as a separate key? It would be easier for updates, too. Regards, Vitaly On Thu, Feb 25, 2016 at 9:40 PM, Cosmin Marginean wrote: > On 25 Feb 2016, at 19:26, Cosmin Marginean wrote: > > Hi

Re: Custom Object Mapper settings in Java Client

2016-02-22 Thread Vitaly E
Hi Cosmin, Have a look at com.basho.riak.client.api.convert.ConverterFactory. It's a singleton, you can register a custom converter there (the default for classes other than String and RiakObject is com.basho.riak.client.api.convert.JSONConverter). It's also possible to pass a custom converter to

Re: Regarding the number of partitions in riak cluser

2016-02-21 Thread Vitaly E
Hi Chathuri, Is it Riak KV? Which version? What hardware are you running your cluster on? How are the Riak nodes distributed over your physical machines? Do you have enough network bandwidth? Regards, Vitaly On Mon, Feb 22, 2016 at 12:35 AM, Chathuri Gunawardhana < lanch.gunawardh...@gmail.co

Re: Riak Search indexing json

2016-02-10 Thread Vitaly E
pers_we_love | paperswelove.org > twitter => @zeeshanlakhani > > On Feb 10, 2016, at 10:53 AM, Vitaly E <13vitam...@gmail.com> wrote: > > Hi Colin, > > The problem is that in your case JSON is interpreted as a String, as > opposed to a Map/POJO with fields. > > Is there a

Re: Riak Search indexing json

2016-02-10 Thread Vitaly E
Hi Colin, The problem is that in your case JSON is interpreted as a String, as opposed to a Map/POJO with fields. Is there any reason you don't rely on the JSON serialization built into Riak Java client? Regards, Vitaly On Wed, Feb 10, 2016 at 5:40 PM, Colin Walker wrote: > Hello everyone,

Re: List Keys for a bucket not returning anything

2016-02-01 Thread Vitaly E
I think it should be curl -i http://localhost:8098/types/comment/buckets/comment/keys?keys=stream Regards, Vitaly I'm trying *delete* and *rebuild* yokozuna search indexes. One idea was to just list all the buckets and all the keys, and trigger an update to rebuild the index. However, the follo

Re: limit of bucket/solr indexes

2016-01-15 Thread Vitaly E
Hi Alexander, I didn't see anybody answering your question, so I'll try my best to answer it myself. The practical number of Solr indices in Riak KV is pretty low. I won't recommend working with more than a few. We hit severe performance problems at around a few tens of Solr indexes. So it looks

Re: CRDT appending

2016-01-13 Thread Vitaly E
Hi Eugene, Which client are you using? Which Riak version? In the Java client it is possible to send an update without fetching a CRDT first. For example: MapUpdate changes = new MapUpdate() .update(ARTIFACT, new RegisterUpdate(artifact)) .update(VERSIONS, new SetUpdate().add(ver

Re: Unable to start riak in ubuntu after changing IP address

2015-05-25 Thread Vitaly E
Which version of Riak are you using? Do you see any error messages? Also, what Java program are you reffering to? Can you post a link please? Regards, Vitaly On Fri, May 22, 2015 at 9:29 AM, sambit wrote: > Hi I have successfully installed Riak in ubuntu in my vmware virtual box in > windows 7