You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by jdh <ti...@yahoo.com.cn> on 2009/11/12 08:45:18 UTC

about index in HBase

Hi all !
The Bigtable paper related little to index. I only know hfile is similar to
mapfile in hadoop, and there are two files in mapfile: data and index. But
still I have no idea about how the index is implemented in hbase. Can
somebody give me any advice?
Thanks!
Regards!
yan
-- 
View this message in context: http://old.nabble.com/about-index-in-HBase-tp26314679p26314679.html
Sent from the HBase User mailing list archive at Nabble.com.


Re: about index in HBase

Posted by 梁景明 <fu...@gmail.com>.
u can build it on top of solr as i do , hbase just give the mapdata

2009/11/12 Ryan Rawson <ry...@gmail.com>

> The HFile "index" is an implementation detail, it doesnt affect how
> the top level API presents itself. At the highest level HBase provides
> an API that lets you store sorted order keys, and then seek to a
> random one and start scanning, or just get one row.  With those
> semantics, building a business logic index on that is trivial.
>
>
>
> On Wed, Nov 11, 2009 at 11:45 PM, jdh <ti...@yahoo.com.cn> wrote:
> >
> > Hi all !
> > The Bigtable paper related little to index. I only know hfile is similar
> to
> > mapfile in hadoop, and there are two files in mapfile: data and index.
> But
> > still I have no idea about how the index is implemented in hbase. Can
> > somebody give me any advice?
> > Thanks!
> > Regards!
> > yan
> > --
> > View this message in context:
> http://old.nabble.com/about-index-in-HBase-tp26314679p26314679.html
> > Sent from the HBase User mailing list archive at Nabble.com.
> >
> >
>

Re: about index in HBase

Posted by Ryan Rawson <ry...@gmail.com>.
The HFile "index" is an implementation detail, it doesnt affect how
the top level API presents itself. At the highest level HBase provides
an API that lets you store sorted order keys, and then seek to a
random one and start scanning, or just get one row.  With those
semantics, building a business logic index on that is trivial.



On Wed, Nov 11, 2009 at 11:45 PM, jdh <ti...@yahoo.com.cn> wrote:
>
> Hi all !
> The Bigtable paper related little to index. I only know hfile is similar to
> mapfile in hadoop, and there are two files in mapfile: data and index. But
> still I have no idea about how the index is implemented in hbase. Can
> somebody give me any advice?
> Thanks!
> Regards!
> yan
> --
> View this message in context: http://old.nabble.com/about-index-in-HBase-tp26314679p26314679.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
>