Transactions ... which aren't.

2013-10-08 Thread Mike Oxford
We know that transactions can be "synthesized" in application spaces, kinda-sorta, with lots of caveats and limitations. We know Riak does not have transactions. Does Riak have, or plan to have, the ability to say "here's a function which may update N buckets (CRDT or otherwise) please execute al

Riak and End Point APIs...

2013-10-08 Thread Adron Hall
I'm working up a distributed development course using Node.js/JavaScript. One of the ideas is to use Riak as a back end, and Node.js as the server that provides the APIs. Clive asked the question "*On Distributed programing with Node and Riak I’d like direction on how to create API endpoints. Mon

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
Finally got it all working! The sample is now available at: https://github.com/arun-gupta/javaee7-samples/tree/master/extra/nosql/riak Arun On Tue, Oct 8, 2013 at 3:00 PM, Jared Morrow wrote: >> Is that normal ? > > > To adjust your open files limit, see this guide > http://docs.basho.com/riak

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-10-08 Thread jeffrey k eliasen
Excellent, thanks. I'll figure out how to point my riak installation to a newer Erlang then. Thanks for all the help, Luke and Steve! -- jeffrey k eliasen - technologist, philosopher, agent of change blog | linkedin | google+ | facebook | twitter On Oct 9, 2013, at 07:15 , Steve Vinosk

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-10-08 Thread Steve Vinoski
This is a known Erlang bug, already fixed in R15B03: http://erlang.org/pipermail/erlang-questions/2013-January/071698.html --steve On Tue, Oct 8, 2013 at 7:08 PM, jeffrey k eliasen wrote: > Well that's interesting… it likes UTC, it likes US/PST, but it doesn't > like the timezone I'm in. Any t

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-10-08 Thread jeffrey k eliasen
Well that's interesting… it likes UTC, it likes US/PST, but it doesn't like the timezone I'm in. Any thoughts as to how to fix this? escorpiao:etc seawolf$ sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime Password: escorpiao:etc seawolf$ date Tue Oct 8 23:01:57 UTC 2013 escorpiao:etc seawolf$

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Jared Morrow
> > Is that normal ? To adjust your open files limit, see this guide http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/ How do I know if the server has started properly or not ? A typical thing to make sure Riak comes up is to 'riak ping' after issuing a 'riak start' Since you are

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
No quotes and "echo $IFS" shows a blank line. The sequence of commands succeeded and I could start the server. But it gave a message as: WARNING: ulimit -n is 256; 4096 is the recommended minimum. Is that normal ? How do I know if the server has started properly or not ? log/ser

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Steve Vinoski
Strange. I assume you didn't put quotes around the whole command, and that you don't have your IFS shell variable set to something unusual? You might try this instead: export CFLAGS=-O0 ./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit uns

[ANN] Yokozuna 0.10.0

2013-10-08 Thread Ryan Zezeski
Riak Users, The 0.10.0 release of Yokozuna is ready. This release brings a few features such as an upgrade in Solr version along with some basic indexing and query stats. The default index has been removed returning write performance closer to baseline for non-indexed buckets. Disk usage was decr

Re: OSX Riak 1.4 Internal Server Error on all map reduce jobs

2013-10-08 Thread Luke Bakken
Hi Jeff, Just for kicks, change your machine's time zone to GMT, verify via the "date" command, and re-try the Erlang snippet. -- Luke Bakken CSE lbak...@basho.com On Thu, Oct 3, 2013 at 6:38 PM, jeffrey k eliasen wrote: > Interesting… looks like that Erlang doesn't like something. I don't >

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
bash Any recommendation on how the command needs to be broken apart ? Arun On Tue, Oct 8, 2013 at 10:09 AM, Steve Vinoski wrote: > Arun, what shell are you using? It looks like your setting of CFLAGS as part > of your very first command ended up taking the entire configure command as > the valu

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Steve Vinoski
Arun, what shell are you using? It looks like your setting of CFLAGS as part of your very first command ended up taking the entire configure command as the value, rather than just -O0, and then when the C compiler later tries to use that whole command line, it unsurprisingly fails. --steve On Tu

Re: Riak on Mac OSX 10.7.5

2013-10-08 Thread Arun Gupta
I gave the command: CFLAGS=-O0 ./configure --disable-hipe --enable-smp-support --enable-threads --enable-kernel-poll --enable-darwin-64bit and it showed a whole bunch of lines as shown below ... -- start here -- Ignoring the --cache-file argument since it can cause the system to be erroneously c

Re: Riak Java client not returning deleted sibling

2013-10-08 Thread Daniel Iwan
I still did not figure it out what's happening. I wrote a simple test that uses 3 Riak Java clients running on single machine. Each client connects to a different Riak node and uses the same converters, mutators etc as original code. I'm explicitly setting clientId and started updating single key.

Re: are Siblings ordered?

2013-10-08 Thread Pedram Nimreezi
Excellent! On Tue, Oct 8, 2013 at 3:24 AM, Russell Brown wrote: > I'd very much like to see the same thing. > > I have a working branch and test here > https://github.com/basho/riak_kv/pull/688 and > https://github.com/basho/riak_test/tree/feature/rdb-sib-ex > > This isn't using the DVVSets but

Re: 2i Index Durability/Resilience

2013-10-08 Thread Rune Skou Larsen
Another thing 2i lacks, is the ability to set the R-value. Just like when GET'ing on a specific key, there is a tradeoff between consistency and performance in choosing the set of vnodes to query. The 2i query implementation in Riak chooses performance over consistency by only querying the min

Re: are Siblings ordered?

2013-10-08 Thread Russell Brown
I'd very much like to see the same thing. I have a working branch and test here https://github.com/basho/riak_kv/pull/688 and https://github.com/basho/riak_test/tree/feature/rdb-sib-ex This isn't using the DVVSets but a sort of rough hack, where we store the event dot for each write in the meta