Coprocessor endpoint resides in one RegionServer (RS). So if you salt
your keys and data is distributed across multiple RSs, you need to
talk to all of them and then do aggregation of the results returned by
each, on client side.
> or there is no need to use it, since
> the data is distributed in the cluster.
So what is your coprocessor is doing? "sum or avg" of values in
different rows? It seems like in this case you'd do aggregation on
server side (in RS coprocessor) and also on client-side after you get
results from RSs. I believe this is a standard way of doing
aggregation with Cps endpoints, whether you use HBaseWD lib or not:
you never know how many regions the data selection spans, right?
Alex