hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: time out when running CellCounter
Date Sun, 26 Aug 2018 02:14:07 GMT
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.si@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 <yuzhihong@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.si@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.
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message