Re: Corrupted Erlang binary term inside LevelDB

2013-07-25 Thread Vladimir Shabanov
I prefer second option since it will show are the corrupted blocks related to race condition. First option needs to be run for a long time to be completely sure that it really fixes the issue. 2013/7/26 Matthew Von-Maszewski > Vladimir, > > I apologize for not recognizing your name and previous

Re: riak 1.4.0 upgrade failed

2013-07-25 Thread Mark Phillips
Hi Kathleen, Sorry if I missed this, but is the cluster currently up? Also, out of curiosity, are you running Riak Control? Mark On Thu, Jul 25, 2013 at 6:03 AM, kzhang wrote: > I upgraded the riak clustered with 5 nodes. Unfortunately, after I upgraded > the first node, the other four nodes a

Re: Corrupted Erlang binary term inside LevelDB

2013-07-25 Thread Matthew Von-Maszewski
Vladimir, I apologize for not recognizing your name and previous contribution. I just tend to think in terms of code and performance bottlenecks, not people. Your June contribution resulted in changes that were released in 1.4 and 1.3.2. I and the team thank you. However, we have not isolate

Re: Corrupted Erlang binary term inside LevelDB

2013-07-25 Thread Vladimir Shabanov
Good. Will wait for doctor. A month ago I mailed about segmentation fault http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-June/012245.html After looking at core dumps you have found this problem with CRC checks being skipped. I enabled paranoid_checks and got my node up an running

Re: Corrupted Erlang binary term inside LevelDB

2013-07-25 Thread Matthew Von-Maszewski
Vladimir, I can explain what happened, but not how to correct the problem. The gentleman that can walk you through a repair is tied up on another project, but he intends to respond as soon as he is able. We recently discovered / realized that Google's leveldb code does not check the CRC of ea

Re: Java client stats question

2013-07-25 Thread Guido Medina
Hi Brian, We have a custom (and very small) admin page that shows Riak KV version, connected nodes and ring members, here is how it looks: riak_kv_version 1.4.0 connected_nodes riak@node2 riak@node3 riak@node4 riak@node5 ring_membersriak@node1 riak@node2 riak@node3 riak@nod

Re: Java client stats question

2013-07-25 Thread Brian Roach
Guido - Right now, no. We've been having some internal discussions around that topic and whether it's really a "client library" operation or not. How are you using stats? Is it for a monitoring app or ... ? Thanks, Brian Roach On Thu, Jul 25, 2013 at 4:25 AM, Guido Medina wrote: > Hi, > > Is

Re: Dangling keys/objects after a batch of sequential inserts (for going on 3 days)

2013-07-25 Thread Siraaj Khandkar
On 07/22/2013 07:52 PM, Siraaj Khandkar wrote: On 07/22/2013 10:29 AM, Andrew Thompson wrote: You should be doing a GET before the PUT with the deletedvclock option. Here is an example I used to originally test (and fix) this bug: https://gist.github.com/Vagabond/965376#file-delete_bug-erl-L48

Re: Scaling Riak CS to hundreds or thousands of servers

2013-07-25 Thread James Martin
Just one caveat on stanchion clustering -- I would say it is technically possible to do so with some of the linux clustering tools, but we have no official guides or support for such a configuration. - James On Thu, Jul 25, 2013 at 10:56 AM, John Daily wrote: > Good questions, Andre, thanks fo

Re: Scaling Riak CS to hundreds or thousands of servers

2013-07-25 Thread John Daily
Good questions, Andre, thanks for reaching out. > How is the Scaling of Raik CS when setting up a few hundred servers in a > cluster? The upper limit of a cluster size depends on traffic load, hardware, and network capacity, but anything approaching 100 servers is likely to run into trouble du

Re: How to connect a cluster with riak running non-standard PB port

2013-07-25 Thread Brian Roach
http://basho.github.io/riak-java-client/1.4.0/com/basho/riak/client/raw/config/ClusterConfig.html#addClient(T) On Thu, Jul 25, 2013 at 8:02 AM, kiran kulkarni wrote: > Thanks, This work if port is same for all hosts. My usecase is a bit > different: > Actually for development, I run 4 Riak instan

RFC: CRDTs in Riak

2013-07-25 Thread Russell Brown
Hi, Although I haven't finished the write up for GC, here is the RFC for CRDTs in Riak https://github.com/basho/riak/issues/354 Please let me know what you think on the Github issue. Many thanks Russell ___ riak-users mailing list riak-users@lists.bas

RFC: Client "autoconfig"

2013-07-25 Thread Sean Cribbs
It seems to be RFC season! In an effort to make clients easier to configure and connect to Riak, here's a feature I'm working on for the next version of Riak. I invite your comments on the Github issue: https://github.com/basho/riak/issues/356 -- Sean Cribbs Software Engineer Basho Technologies

Re: How to connect a cluster with riak running non-standard PB port

2013-07-25 Thread kiran kulkarni
Thanks, This work if port is same for all hosts. My usecase is a bit different: Actually for development, I run 4 Riak instances locally with different ports 10017, 10027, 10037, 10047 for PB. On Thu, Jul 25, 2013 at 7:24 PM, Brian Roach wrote: > On Thu, Jul 25, 2013 at 7:47 AM, kiran kulkarni

Scaling Riak CS to hundreds or thousands of servers

2013-07-25 Thread Andre Lohmann
How is the Scaling of Raik CS when setting up a few hundred servers in a cluster? Does it make sense, to build a cluster of that size, or is it recommended to have smaller pools of clusters and shard the Files over more than one cluster? What about stanchion as the potetial single point of failure

Re: How to connect a cluster with riak running non-standard PB port

2013-07-25 Thread Brian Roach
On Thu, Jul 25, 2013 at 7:47 AM, kiran kulkarni wrote: > Class PBClusterConfig has only method addHosts which allows to set hosts > only. I am using a different port for PB connections. How do I set host and > port both? http://basho.github.io/riak-java-client/1.4.0/com/basho/riak/client/raw/pbc/

Re: Riak Java Client 1.1.2 and 1.4.0

2013-07-25 Thread Brian Roach
Fixed. Apparently I updated the ACL for 1.1.2 and not 1.4.0, sorry. Thanks, - Roach On Wed, Jul 24, 2013 at 7:53 PM, YN wrote: > Hi Brian, > > Thanks for putting the release together so quickly. It does not appear as > though the download is working (for the non maven files). It looks like > the

How to connect a cluster with riak running non-standard PB port

2013-07-25 Thread kiran kulkarni
Hello, In following Cluster Client example, it is assumed that I use default PB port (8087) on riak. https://github.com/basho/riak-java-client/wiki/ClientFactory#http-or-pb-cluster-client Class *PBClusterConfig* has only method *addHosts *which allows to set hosts only. I am using a different po

Re: riak 1.4.0 upgrade failed

2013-07-25 Thread kzhang
I upgraded the riak clustered with 5 nodes. Unfortunately, after I upgraded the first node, the other four nodes all went down. I am not sure what caused the downtime. There was a erl_crash.dump on all five, with similar content: =erl_crash_dump:0.1 Wed Jul 24 11:37:56 2013 Slogan: Kernel pid term

Riak 1.4 test on Azure - Webmachine error at path ...

2013-07-25 Thread Christian Rosnes
Hi, During a test I just performed on a small Riak 1.4 cluster setup on Azure, I started seeing the Riak errors messages listed below after about 10 minutes. The simple test was performed using lastest Jmeter running on two Azure instances, which also each runs haproxy and loadbalances the http/r

Re: Tweaking app.config and vm.args for best performance

2013-07-25 Thread rsb
Hi Dave, Thanks for pointing out the settings for disabling Nagle. Cheers -- View this message in context: http://riak-users.197444.n3.nabble.com/Tweaking-app-config-and-vm-args-for-best-performance-tp4028510p4028546.html Sent from the Riak Users mailing list archive at Nabble.com. _

Java client stats question

2013-07-25 Thread Guido Medina
Hi, Is there a way to get the JSON stats via PBC? This is how we are doing it now, we would like to get rid of any HTTP call, currently, this is the only call being made to HTTP: /private void collectNodeInfo(final PBClientConfig clientConfig)// // {// //...// //RiakClusterStats stat