You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Antonio Si <an...@gmail.com> on 2018/08/25 16:35:35 UTC
time out when running CellCounter
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.
Re: time out when running CellCounter
Posted by Ted Yu <yu...@gmail.com>.
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 <an...@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 <yu...@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 <an...@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.
> > >
> >
>
Re: time out when running CellCounter
Posted by Antonio Si <an...@gmail.com>.
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 <yu...@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 <an...@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.
> >
>
Re: time out when running CellCounter
Posted by Ted Yu <yu...@gmail.com>.
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 <an...@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.
>