> using Coprocessor: rowcount > > > On Sat, Jan 5, 2013 at 2:23 AM, hua beatls <[EMAIL PROTECTED]> wrote: > > > Hi, > > is there any easy way to know how many records in the hbase, hive or > > coprocessor? > > > > Thanks! > > > > beatls > > >
The record number is not an information stored with the row itself. So the idea here is to count how many rows are there before the one you are looking at.
And if you insert one or some before, you will have to recount. At the end, this can be still a costly information.
Are you sure you can't use something else for your usecase?
2013/1/5, Alok Kumar <[EMAIL PROTECTED]>: > Hi, > > See here https://blogs.apache.org/hbase/entry/coprocessor_introduction for > Coprocessor Introduction. > It's the first place you should look for . It has couple of example as well > > > **Happy New Year** > > Regards, > Alok > > > > > On Sat, Jan 5, 2013 at 12:42 PM, hua beatls <[EMAIL PROTECTED]> wrote: > >> Hi, >> do you have any guide about copreccesor? how to use it? >> >> >> Thanks! >> >> beatls >> >> On Sat, Jan 5, 2013 at 8:51 AM, Azuryy Yu <[EMAIL PROTECTED]> wrote: >> >> > Coprocessor: rowcount >> > > > > -- > Alok Kumar >
NEW: Monitor These Apps!
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by Sematext