Riak pre-commit hook crashing unexpectedly

2015-12-07 Thread David Rogers
Hello, I'm using riak {release,"riak","2.1.0","5.10.3", [{kernel,"2.16.3", "$HOME/src/riak-2.1.1/rel/riak/lib/kernel-2.16.3"} ...} on a cluster with 1 Linux 3.16.0-38 and 4 OSX machines. I have installed the following pre-commit hook (see end of email) to validate protobuf-formatted v

Solr requests and Riak Search (was: Re: LucidWorks Banana Integration)

2015-12-07 Thread Damien Krotkine
I feel like the topic changed a bit, so I changed the email subject. Mark Schmidt wrote: Hi Dams, I appreciate the assistance. I was able to turn up Banana fairly easily using the steps you laid out below, but I have a few questions regarding communicating with my Riak environment. We ha

Re: Riak pre-commit hook crashing unexpectedly

2015-12-07 Thread Jon Meredith
Does your signed_pb:decode_sign(Msg) function expect the binary to be in external term format? I would guess you probably want the direct value there without the term to binary - it should already be a binary. Is your hook expected to work with allow_mult=true, if so the get_metadata and get_val

Re: Two quick questions about X-RIak-Meta-* headers....

2015-12-07 Thread Dmitri Zagidulin
Hi Joe, 1. Yes, it's possible (with the HTTP HEAD request, or the client library equivalent (I'm pretty sure all the client libraries expose the 'return only the headers' part of the object fetch -- see the Optional Parameters head=true section of the PB API http://docs.basho.com/riak/latest/dev/r

Re: Two quick questions about X-RIak-Meta-* headers....

2015-12-07 Thread Damien Krotkine
Hi Joe, First of all, what Dmitri says makes a lot of sense. From what I understand, you are trying to avoid wasting network bandwidth by transferring data where you only need the metadata of your keys. As Dmitri pointed out, if your replication factor is 3 (default), then Riak will internall