hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans" <jdcry...@gmail.com>
Subject Re: Any equivalence of HQL "select count..." in 0.2 shell?
Date Sun, 10 Aug 2008 19:42:15 GMT
See the new https://issues.apache.org/jira/browse/HBASE-813

I used a scanner so getting the start rows is not so trivial (sorry Billy)
but I added an output at every X rows, 1000 by default.

Waiting for comments before committing.

J-D

On Sun, Aug 10, 2008 at 2:25 PM, Daniel Leffel <daniel.leffel@gmail.com>wrote:

> Love it.
>
>
> On 8/10/08, Billy Pearson <sales@pearsonwholesale.com> wrote:
> > Maybe output region start row as it changes from region to region with a
> > progress count so we can see it working sense it will be slow.
> >
> > Billy
> >
> > "stack" <stack@duboce.net> wrote in message
> > news:489E0EC9.20309@duboce.net...
> >> What you think J-D?  How about adding 'count' to shell that is same as
> >> 'scan' only doesn't output header and rows?  Just the count and time
> taken
> >>
> >> on the end?
> >> St.Ack
> >>
> >> Jean-Daniel Cryans wrote:
> >>> ZhaoWei.
> >>>
> >>> This was discussed in the thread "any chance to get the size of a
> >>> table?",
> >>> counting the rows in a table is not something you want to do with a
> >>> scanner
> >>> because it can take hours, this is why it is not in the new shell.
> >>> RowCounter is the way for the moment to count rows with a MapReduce
> job.
> >>>
> >>> Would you still like to see such feature even tho it's very slow?
> >>>
> >>> Thx,
> >>>
> >>> J-D
> >>>
> >>> On Sat, Aug 9, 2008 at 12:23 PM, ZhaoWei
> >>> <wzhao1984@gmail.com> wrote:
> >>>
> >>>
> >>>> I'm just using 0.2.0 release version, did not find what I want in
> >>>> document.
> >>>>
> >>>> Thanks!
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>

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