Please also take a look at: hbase-examples/src/main//java/org/apache/hadoop/hbase/coprocessor/example/RowCountEndpoint.java
You can reuse some code from CellCounter to enhance the above example endpoint so that counting versions is done on server side instead of through mapreduce. FYI On Sat, Aug 25, 2018 at 2:49 PM Antonio Si <antonio...@gmail.com> wrote: > Thanks Ted. > > I try passing "-Dhbase.client.scanner.timeout.period=1800000" when I invoke > CellCounter, but it is still saying timeout after 600 sec. > > Thanks. > > Antonio. > > On Sat, Aug 25, 2018 at 2:09 PM Ted Yu <yuzhih...@gmail.com> wrote: > > > It seems CellCounter doesn't have such (commandline) option. > > > > You can specify, e.g. scan timerange, scan max versions, start row, stop > > row, etc. so that individual run has shorter runtime. > > > > Cheers > > > > On Sat, Aug 25, 2018 at 9:35 AM Antonio Si <antonio...@gmail.com> wrote: > > > > > Hi, > > > > > > When I run org.apache.hadoop.hbase.mapreduce.*CellCounter*, I am > getting > > > Timed > > > out after 600 secs. Is there a way to override the timeout value rather > > > than changing it in hbase-site.xml and restart hbase? > > > > > > Any suggestions would be helpful. > > > > > > Thank you. > > > > > > Antonio. > > > > > >