Getting HTTP port info for all nodes in a cluster

2015-08-12 Thread Mark Wilkinson
Is there a way via the HTTP API to get the HTTP port the other nodes on a cluster are listening on, assuming of course that I know one of the nodes' listening port? I am trying to find a way to pass in connection information for one of the nodes in a cluster to an app I am writing in Go, and then

why leaving riak cluster so slowly and how to accelerate the speed

2015-08-12 Thread Changmao.Wang
Hi Riak users, Before adding new nodes, the cluster only have five nodes. The member list are as below: 10.21.136.66,10.21.136.71,10.21.136.76,10.21.136.81,10.21.136.86. We did not setup http proxy for the cluster, only one node of the cluster provide the http service. so the CPU load is always

Re: why leaving riak cluster so slowly and how to accelerate the speed

2015-08-12 Thread Changmao.Wang
Hi Riak users, Before adding new nodes, the cluster only have five nodes. The member list are as below: 10.21.136.66,10.21.136.71,10.21.136.76,10.21.136.81,10.21.136.86. We did not setup http proxy for the cluster, only one node of the cluster provide the http service. so the CPU load is alwa

What in RiakS2 do AS3

2015-08-12 Thread Brad Aisa
I'm new to both S3 and Riak -- I'm trying to set up local RiakS2 to run our integration tests (instead of writing to S3) -- where do I find or configure "Access Key ID" and "Secret Key" for the S3 api? The only thing I've found on the Basho site relates to setting up a S3cmd client. It provides

Re: Getting HTTP port info for all nodes in a cluster

2015-08-12 Thread Dmitri Zagidulin
If you know one node's HTTP listening port, you know them all -- all the nodes are supposed to listen on the same ports. (Otherwise, load balancing gets awkward, etc). A case where different nodes in the cluster are listening on different ports is exotic enough to not be worth supporting. (Plus, t

Re: why leaving riak cluster so slowly and how to accelerate the speed

2015-08-12 Thread Dmitri Zagidulin
Responses inline. On Tue, Aug 11, 2015 at 12:53 PM, changmao wang wrote: > 1. About backuping new nodes of four and then using 'riak-admin > force-replace'. what's the status of new added nodes? > as you know, we want to replace one of leaving nodes. > I don't understand the question. Doing 'r

Re: Monitoring protobuffs and CPU usage on a Riak KV cluster

2015-08-12 Thread Sean Kelly
Hi Jon, Just to let you know, I saw your email and have planned over the last 2 days to sit down and gather this info for you, but other issues keep arising to keep me from getting the time to dedicate to it. I'm going to try to get some time at home tonight, and get back to you with this info.

Re: Getting HTTP port info for all nodes in a cluster

2015-08-12 Thread mark
Thanks for the thoughts here. I do get a bit carried away sometimes, wanting to support fringe cases. I'll go forward assuming the same port number. On 2015-08-12 10:27, Dmitri Zagidulin wrote: If you know one node's HTTP listening port, you know them all -- all the nodes are supposed to liste

Problem with Riak not thinking hostname is fully-qualified

2015-08-12 Thread Toby Corkindale
I'm trying to set up another cluster, and I'm hitting problems with Riak complaining that ** System running to use fully qualified hostnames ** ** Hostname db04 is illegal ** However, as far as I can see, the host does have a fully-qualified hostname: root@db04:/# hostname db04 root@db04:/# hostn

Re: Problem with Riak not thinking hostname is fully-qualified

2015-08-12 Thread Sargun Dhillon
Put a period at the end. On Wed, Aug 12, 2015 at 8:52 PM, Toby Corkindale wrote: > I'm trying to set up another cluster, and I'm hitting problems with Riak > complaining that ** System running to use fully qualified hostnames ** > ** Hostname db04 is illegal ** > > However, as far as I can see, t

Re: Problem with Riak not thinking hostname is fully-qualified

2015-08-12 Thread Toby Corkindale
I should have mentioned, the actual Riak.conf has nodename set to the FQDN. The FQDN resolves correctly in our DNS. On Thu, 13 Aug 2015 at 13:52 Toby Corkindale wrote: > I'm trying to set up another cluster, and I'm hitting problems with Riak > complaining that ** System running to use fully qua

Re: Problem with Riak not thinking hostname is fully-qualified

2015-08-12 Thread Toby Corkindale
I found the problem. It was quite annoying. Essentially -- the systems were all valid, but Riak wouldn't recognise the fully-qualified hostnames until I rm -rf /var/lib/riak/* and restarted riak. On Thu, 13 Aug 2015 at 13:52 Toby Corkindale wrote: > I'm trying to set up another cluster, and I'm