Bear in mind each region will return its top n, then you will have to run another top n in your client code. This introduce a numerical error : top on top.
On Thursday, April 10, 2014, Bogala, Chandra Reddy <[email protected]> wrote: > Hi, > I am planning to write endpoint coprocessor to calculate TOP N results for > my usecase. I got confused with old apis and new apis. > I followed below links and try to implement. But looks like api's changed > a lot. I don't see many of these classes in hbase jars. We are using Hbase > 0.96. > Can anyone point to the latest document/apis?. And if possible sample code > to calculate top N. > > https://blogs.apache.org/hbase/entry/coprocessor_introduction > HBase Coprocessors - Deploy shared functionality directly on the > cluster<https://www.youtube.com/watch?v=xHvJhuGGOKc> > > Thanks, > Chandra > > >
