Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase, mail # user - min, max


+
Weishung Chung 2011-03-01, 22:03
+
Ted Yu 2011-03-01, 22:44
+
Stack 2011-03-02, 04:51
+
Ted Yu 2011-03-02, 04:58
+
Stack 2011-03-02, 05:08
+
Ted Yu 2011-03-02, 05:35
+
陈加俊 2011-03-02, 05:54
Copy link to this message
-
Re: min, max
Weishung Chung 2011-03-02, 14:53
Awesome, thanks a lot. I will try them out n let u guys know the result.
On Tue, Mar 1, 2011 at 11:54 PM, 陈加俊 <[EMAIL PROTECTED]> wrote:

> Yes I do it like this. But I hava another problem I can't count the rows of
> one table fast.
>
> On Wed, Mar 2, 2011 at 12:58 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
>
> > Weishung:
> > For max, you can enumerate the regions for your table. Start the scan
> from
> > the first row in the last region.
> >
> > On Tue, Mar 1, 2011 at 8:51 PM, Stack <[EMAIL PROTECTED]> wrote:
> >
> > > On Tue, Mar 1, 2011 at 2:44 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> > > > For min, you can write your own filter which extends FilterBase so
> that
> > > the
> > > > scan stops after seeing the first row.
> > > >
> > >
> > > Or just start the scan at the a row whose name is the empty byte array
> > > and kill the scan after the first return; the first return will be the
> > > first row in table.
> > >
> > > I don't know how to get the last row in a table, easily.
> > >
> > > St.Ack
> > >
> >
>
>
>
> --
> Thanks & Best regards
> jiajun
>
+
Weishung Chung 2011-03-03, 04:30
+
Weishung Chung 2011-03-03, 15:18
+
Bill Graham 2011-03-03, 16:50
+
Ted Yu 2011-03-03, 17:22
+
Weishung Chung 2011-03-03, 18:48
+
Ted Yu 2011-03-03, 18:59
+
Stack 2011-03-03, 19:35
+
Weishung Chung 2011-03-04, 14:55