[no subject]

2014-05-08 Thread Daniel Iwan
Hi I got following exception with riak Java client 1.1.3, Riak cluster 1.3.1 I don't see any error messages in Riak's console log. Any idea what may be causing this? Caused by: com.basho.riak.client.RiakRetryFailedException: java.io.IOException: bad message code. Expected: 14 actual: 1 at com.ba

Re: auto-apply different backend config via bucket name prefix

2014-05-08 Thread Luke Bakken
Hi Gavin, The multi_backend_prefix_list feature is for Riak CS's use and is not intended for general use. That being said, the following two configuration lines will direct you to how Riak CS accomplishes this: {add_paths, ["/usr/lib/riak-cs/lib/riak_cs-1.4.5/ebin"]}, {storage_backend, riak_cs_kv

Re: Riak CS User Creation

2014-05-08 Thread Luke Bakken
Hi Lee, You can find the s3_request2_no_update method in the erlcloud source here: https://github.com/gleber/erlcloud/blob/master/src/erlcloud_s3.erl. This method shows the (extensive) steps required to make a valid S3 request, and is not exported by default. So, moving on... I found the followin

Re: bad message code. Expected: 14 actual: 1

2014-05-08 Thread Daniel Iwan
Thanks Bryan but according to Java github project : riak-client-2.0-technical-preview - Core preview for Riak 2.0 riak-client-1.4.4 - For use with Riak 1.4+ riak-client-1.1.4 - For use with < Riak 1.4.0 Is v1.1.4 https://github.com/basho/riak-java-client/commit/875bfbe66ac9c24a4ddc1b5cca819b8f2ae

Re:

2014-05-08 Thread Brian Roach
Hi Daniel, I suspect this is the bug fixed in PR#352 ( https://github.com/basho/riak-java-client/pull/352 ) Try upgrading to the 1.1.4 client release and see if the problem persists. Thanks, - Roach On Thu, May 8, 2014 at 8:02 AM, Daniel Iwan wrote: > Hi > > I got following exception with ria

Re: Riak CS User Creation

2014-05-08 Thread Lee Sylvester
Hi Luke, Thanks for the information. It’s a lot of great stuff I wish I had a couple of days ago :-D I’ve since created a new library here : https://github.com/xirdev/s3_xirsys It currently adds user creation support. However, I will probably add other features to this over time. It’s mos

riak-erlang-client, riak HTTP API, riak search

2014-05-08 Thread Brisa Anahi Jimenez Flores
Hi everybody! I'm using riakc, branch 1.4 and riak-1.4.7. I want to save buckets through riak-erlang-client. If I save a bucket through HTTP API, I get search results (search-cmd and solr interface), but, If I save through riak-erlang-client, I don't have any results. I tried to save the same

Re:

2014-05-08 Thread Daniel Iwan
That's what I was thinking after looking into details of https://github.com/basho/riak-java-client/pull/351 When I saw release of 1.1.4 a comment in changelog did not seem like of a huge importance This is a minor bugfix release Fix RiakConnection.get_code(int) We will upgrade client library. B

Re: riak-erlang-client, riak HTTP API, riak search

2014-05-08 Thread Brisa Anahi Jimenez Flores
Seems like data saved with json or xml content type headers is indexed to serch by field, and the rest will be search by value. Thanks! On May 8, 2014, at 3:14 PM, Brisa Anahi Jimenez Flores wrote: > Hi everybody! > > I'm using riakc, branch 1.4 and riak-1.4.7. > > I want to save buckets th

Re: auto-apply different backend config via bucket name prefix

2014-05-08 Thread Gavin Huang
Hi, Luke Thanks for your reply, I realized that also after some investigation. I was wondering if there is other approaches to achieve my requirement. Here is my situation: 1. A tenant can save object to any bucket that with name start with tenant's name, for example service1_bucket1, service