Re: reads/writes during node replacement

2016-11-14 Thread Johnny Tan
Thank you Magnus. On Mon, Nov 14, 2016 at 7:06 AM, Magnus Kessler wrote: > On 12 November 2016 at 00:08, Johnny Tan wrote: > >> When doing a node replace (http://docs.basho.com/riak/1. >> 4.12/ops/running/nodes/replacing/), after commit-ing the plan, how does >> the cluster handle reads/writes?

Re: Calling erlang shell from the command line

2016-11-14 Thread Luke Bakken
Hi Arun - When you install Riak it installs the Erlang VM to a well-known location, like /usr/lib/riak/erts-5.9.1 You can use /usr/lib/riak/erts-5.9.1/bin/erlc and know that it is the same Erlang that Riak is using. -- Luke Bakken Engineer lbak...@basho.com On Mon, Nov 14, 2016 at 11:20 AM, Aru

Calling erlang shell from the command line

2016-11-14 Thread Arun Rajagopalan
Hi RIAK users I would like to attach to the riak shell and compile an .erl program and quit. The reason is I want to be absolutely sure I am building the erl program with the version of erlang that my riak installation has Something like riak attach c(myprog.erl). Ctr-C a Any ideas ? Thanks Aru

Re: Uneven distribution of partitions in RIAK cluster

2016-11-14 Thread Drew Pirrone-Brusse
Hi Ray, Riak's partition distribution is automatically calculated using our nondeterministic `claim` algorithm. That system is able to re-balance clusters, but is typically only run during membership operations; joining, leaving, or replacing nodes. The uneven partition distribution won't self-hea

Re: Riak-CS False 503 Service Unavailable Error on Client

2016-11-14 Thread Luke Bakken
Hi Anthony, Looking at the linked issue it appears that the 503 response can be returned erroneously when communication between a Riak CS and Riak node has an error ("If the first member of the preflist is down"). Is there anything predictable about these errors? You say they come from 1 client o

Re: Query data with Riak TS

2016-11-14 Thread Andrei Zavada
On Mon, Nov 14, 2016 at 5:44 PM, Jan Paulus wrote: > Hello Andrei, > > > > thanks for the answer. It is good news that 1.5 will get the ODER BY and > LIMIT functionality. > > Unfortunately the current AVG implementation is not exactly what we are > looking for. The current implementation will sum

AW: Query data with Riak TS

2016-11-14 Thread Jan Paulus
Hello Andrei, thanks for the answer. It is good news that 1.5 will get the ODER BY and LIMIT functionality. Unfortunately the current AVG implementation is not exactly what we are looking for. The current implementation will sum up all points in the time range and will it divide by the number o

Re: Query data with Riak TS

2016-11-14 Thread Andrei Zavada
Hello Jan, R​eplying to your questions inline:​​ ​ > Hi, we are testing Riak TS for our Application right now. I have a couple of > question how to query the data. We are measuring electric power which comes > in in odd time intervals. > > 1. Is it possible to query the value which has been r

Query data with Riak TS

2016-11-14 Thread Jan Paulus
Hi, we are testing Riak TS for our Application right now. I have a couple of question how to query the data. We are measuring electric power which comes in in odd time intervals. 1. Is it possible to query the value which has been received bevor at a given time? In other words: Get the current

Re: reads/writes during node replacement

2016-11-14 Thread Magnus Kessler
On 12 November 2016 at 00:08, Johnny Tan wrote: > When doing a node replace (http://docs.basho.com/riak/1. > 4.12/ops/running/nodes/replacing/), after commit-ing the plan, how does > the cluster handle reads/writes? Do I include the new node in my app's > config as soon as I commit, and let riak

Re: throughput test & connection fail

2016-11-14 Thread Magnus Kessler
On 12 November 2016 at 03:00, Jing Liu wrote: > Hi, > > When I try to simply test the throughput of Risk in the setting that > just start a single node and utilize two clients to issue requests, I > got connection refused after the client's thread of sending GET > request overcome about 400. Actu