Re: Javascript MapReduce fails Erlang succeeds

2013-08-15 Thread Chris Meiklejohn
The best guess I have at this point is probably something related to character encoding, but without a reproduction case, I'm not able to debug it any further. Good luck with the upgrade tonight! - Chris On Thu, Aug 15, 2013 at 3:39 PM, Doug Read wrote: > I redirected the output of curl into

Re: Javascript MapReduce fails Erlang succeeds

2013-08-15 Thread Doug Read
I redirected the output of curl into a file on an ubuntu box. I am upgrading the cluster to 1.4.1 tonight. To your point I PUT the value into the key locally (3 node cluster) and couldn't reproduce either. Also i am turning on the java vm logging. On Thu, Aug 15, 2013 at 3:33 PM, Chris Meiklej

Re: Javascript MapReduce fails Erlang succeeds

2013-08-15 Thread Chris Meiklejohn
Hi Doug, I've configured a Riak 1.2 cluster, and run the aforementioned map-reduce job in Erlang and I can't trigger the crash. I'm getting the expected results of the map/reduce job. How did you send me the object that you provided off-list? - Chris On Thu, Aug 15, 2013 at 12:36 PM, Chris Me

Re: Yokozuna 0.8.0 release on omnios - no Yokozuna, no Riak Control

2013-08-15 Thread Chris Meiklejohn
It appears that Yokozuna is failing to start because it can't resolve the local host name. Can you verify that /etc/hosts looks correct, and that you have nameservers properly configured on that host? - Chris On Thu, Aug 15, 2013 at 2:05 PM, Dave Martorana wrote: > Hi Chris, > > After waiting

Re: vm.args change for 15% to 80% improvement in leveldb

2013-08-15 Thread István
Awesome work! Just on time for out performance testing... :) On Tue, Aug 13, 2013 at 5:38 PM, Matthew Von-Maszewski wrote: > ** The following is copied from Basho's leveldb wiki page: > > https://github.com/basho/leveldb/wiki/Riak-tuning-1 > > > > Summary: > > leveldb has a higher read and write

Re: Yokozuna 0.8.0 release on omnios - no Yokozuna, no Riak Control

2013-08-15 Thread Dave Martorana
Hi Chris, After waiting for about 5 minutes, this is the entirety of the output. I never do get a console prompt (I tried hitting enter, etc.) riak% bin/riak console Node 'riak@127.0.0.1' not responding to pings. config is OK Exec: /riak/riak/rel/riak/bin/../erts-5.9.2/bin/erlexec -boot /riak/ria

Re: Yokozuna 0.8.0 release on omnios - no Yokozuna, no Riak Control

2013-08-15 Thread Dave Martorana
Not for nothing, but apparently these issues are relegated to the Vagrant box for omnios. I can't imagine what the possible differences are, but when using the exact build scripts on EC2 that I use for the Vagrant box, including user creation, etc., all services are available. I'd still love to fi

Re: Yokozuna 0.8.0 release on omnios - no Yokozuna, no Riak Control

2013-08-15 Thread Chris Meiklejohn
Hi Dave, I just built Yokozuna 0.8.0 from the packages available, and noticed some behavior which might be related. Because the Yokozuna OTP application starts before Riak Control and it's dependencies, there is a short period where Riak Control will be unavailable. Can you try the following: 1

Re: Javascript MapReduce fails Erlang succeeds

2013-08-15 Thread Chris Meiklejohn
Hi Doug, Can you provide a sample of the JSON that you're storing in these objects? It appears that mochijson2's tokenizer is crashing because it thinks the JSON is not valid, where the Spidermonkey parsing is succeeding. - Chris On Wed, Aug 14, 2013 at 10:58 AM, Doug Read wrote: > The follo

Re: Bitcask Memory Usage Increasing (1.4.1)

2013-08-15 Thread Evan Vigil-McClanahan
Glad to hear it! You might want to experiment with an even lower file size, as you'll get better performance if more memory is is available for the page cache, and for merges (which can take up extra memory while they're happening). On Thu, Aug 15, 2013 at 10:21 AM, Drew Goya wrote: > Hey Evan,

Re: Internal server error mochoweb_http parse_headers

2013-08-15 Thread Sam Elliott
Hey, I talked to you on IRC. For this particular route, you need to use the URL /buckets?buckets=true to list buckets and stop getting the error. (Listing buckets is relatively expensive [citation needed], hence the requirement for the query parameter). I think lots of our engineers are workin

Re: Riak 2 Node cluster

2013-08-15 Thread Nico Huysamen
Hi EricYeah, that was exactly what I thought. All things considered though, the 4GB RAM requirements is only an recommendation correct? For example, if we do not expect very high volumes of key/value pairs in our application initially (probably around 3-5 million), then would the 5x 2GB RAM VPS

Internal server error mochoweb_http parse_headers

2013-08-15 Thread Konstantine Rybnikov
Hi everyone. I did something strange to my Riak and it works for some operations, but fails for others in a strange way I don't know how to debug. Please take a look at error at https://gist.github.com/k-bx/d7b26857885865fc4870 Thanks! ___ riak-use

Re: Riak 2 Node cluster

2013-08-15 Thread Eric Redmond
It's hard to answer that, because both configurations are below Riak's recommended specifications. You should have at least 5 servers, and they should have at least 4GB RAM each. The minimums are for different reasons.The minimum RAM is clear: keeping things like keys resident reduces the chances o

Re: Riak 2 Node cluster

2013-08-15 Thread Nico Huysamen
I am also interested in the answer to this. If I had to choose between having 2 dedicated servers, each with 32GB RAM, or 5 virtual servers each with 2GB RAM (which just happens to be the case for us at the moment), my gut feel is go with the 2 dedicated servers. But Basho seems pretty fixed on