Bucket properties not updated

2013-10-09 Thread Daniel Iwan
Hi With Java client 1.1.3 and Riak 1.3.1 I'm doing: WriteBucket wb = iclient.createBucket(BUCKET_NAME).nVal(3).allowSiblings(true); Bucket b = wb.execute(); _logger.fine(Regular bucket: + bucket + , allows siblings? + bucket.getAllowSiblings()); DomainBucketBuilder

distribution of data among riak cluster physical nodes

2013-10-09 Thread kzhang
We have a 5 node riak cluster to store site images, with N=3, R=1. When we turned off one node, a lot of GET requests failed, which made me think those requested images (3 copies of them) all landed on the failed physical node. Is there a way to tell how the replicas are distributed among the

Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Siddhu Warrier (siwarrie)
Hi, I have a two node Riak CS (1.4) cluster set up on two nodes (node-1 and node-2 henceforth). Node-1 is the headnode. Both node-1 and node-2 are running CentOS-6.4. Node-1 * Riak 1.4.2 * Stanchion 1.4.1 * Riak-CS 1.4.1 * Riak-CS-Control 1.0.2 Node-2 * Riak 1.4.2 *

Re: distribution of data among riak cluster physical nodes

2013-10-09 Thread John Daily
What you saw is actually quite typical when using R=1. When you turn off a node, Riak's sloppy quorum behavior will kick in and hand off some of your read requests to an empty data partition to supplement the two remaining partitions that still have a copy. Since the partition is empty, it can

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Dmitri Zagidulin
(Just to be extra clear, that's meant to be a comma at the end of that directive, not a period. Also, don't forget to restart Riak CS Control, after changing the proxy host). On Wed, Oct 9, 2013 at 10:36 AM, Dmitri Zagidulin dzagidu...@basho.comwrote: Hi Siddhu, Can you try changing

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Dmitri Zagidulin
Hi Siddhu, Can you try changing 'cs_proxy_host' to localhost? So: {cs_proxy_host, 127.0.0.1 }. and retry. On Wed, Oct 9, 2013 at 9:55 AM, Siddhu Warrier (siwarrie) siwar...@cisco.com wrote: Hi, I have a two node Riak CS (1.4) cluster set up on two nodes (node-1 and node-2

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Siddhu Warrier (siwarrie)
Hi Dimitri, Thank you for your email. I just tried this. I still have the same problem, except that I no longer get 403 errors in my Riak CS error log (as a matter of fact, I get nothing at all in my Riak CS, Riak CS Control, Stanchion, and Riak error logs). I've put the basic config section

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Dmitri Zagidulin
Ok, I suspect it has to do with a mismatch between cs_root_host setting in riakcs.app.config and the corresponding setting in riak-cs-control.app.config. Can you attach your .s3cfg, so I can confirm? Dmitri On Wed, Oct 9, 2013 at 11:16 AM, Siddhu Warrier (siwarrie) siwar...@cisco.com wrote:

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Siddhu Warrier (siwarrie)
Hi Dmitri, Sorry I failed to attach the s3cfg file. Cheers, Siddhu From: Dmitri Zagidulin dzagidu...@basho.commailto:dzagidu...@basho.com Date: Wednesday, 9 October 2013 16:51 To: Siddhu Warrier siwar...@cisco.commailto:siwar...@cisco.com Cc:

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Dmitri Zagidulin
Ok, yes, I think the hostname mismatch betwen CS and CS Control is at issue (it's somewhat confusing, I agree). So: Since you have {cs_root_host, s3.amazonaws.com}, in CS Config, you want your cs_hostname to match that in CS Control's config. So, my CS Control config looks like: %%

RICON West Schedule Now Official; Only 30 Tickets Left

2013-10-09 Thread Mark Phillips
Hi All, For those of you playing along at home, we're a mere 19 days away from RICON West in San Francisco. We just finalized the official schedule. You can memorize it here: * http://ricon.io/west.html#schedule Arguably of more importance, we only have 30 tickets left. If you're planning to

Re: Bucket properties not updated

2013-10-09 Thread Daniel Iwan
Thank for reply. The thing is that bucket never converges. The allow_mult remains false even several minutes after handoff had finished. I don't know whether it's because properties get overwritten by defaults during gossip or it's because message from client(s) never reaches Riak. This

Re: Bucket properties not updated

2013-10-09 Thread Jeremiah Peschka
Could this be a duplicate of bug 660? https://github.com/basho/riak_kv/issues/660 I can reliably reproduce this on a local 5 node stagedevrel cluster on Riak 1.4.2 and develop. --- Jeremiah Peschka - Founder, Brent Ozar Unlimited MCITP: SQL Server 2008, MVP Cloudera Certified Developer for

Re: Bucket properties not updated

2013-10-09 Thread Daniel Iwan
It does sound similar, although in my case I just create brand new bucket with allow_multi=true, which does not seem to be accepted (although client says it is). I'm not trying to reset bucket properties, but maybe it's a good test to to that to see i it gets unstuck. D. On 9 October 2013

Corrugated Iron for Riak- WCF Performance Issue

2013-10-09 Thread Pandiarajan Subramani
Hi Everyone, I am using Corrugated Iron(CI) for Riak in my WCF REST application. After adding CI, the web services started to send response very slow. All immediate consecutive request to the REST end points get queued up and the responses are delayed more. If anyone

Re: Corrugated Iron for Riak- WCF Performance Issue

2013-10-09 Thread OJ Reeves
Pandiarajan, Can you please answer some questions for me: 1. What is your application architecture? Are you consuming CI as a transport from WCF or are you calling CI from a RESTful server? 2. Prior to adding CI, how were you talking to Riak? 3. Have you ran basho_bench against your

Re: Corrugated Iron for Riak- WCF Performance Issue

2013-10-09 Thread OJ Reeves
oops! hit send too early. 4. What is your Riak cluster setup? (eg. how many nodes, configuration setteings, etc). On Thu, Oct 10, 2013 at 9:26 AM, OJ Reeves o...@buffered.io wrote: Pandiarajan, Can you please answer some questions for me: 1. What is your application architecture? Are

Re: Unable to configure Riak-CS-Control to manage users

2013-10-09 Thread Christopher Meiklejohn
The reason for the hostname having to be equal on both hosts is because the HMAC which is generated as part of the S3 API uses this information. The following document contains more information. http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html - Chris -- Christopher