hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Cockrill <jamie.cockr...@gmail.com>
Subject Re: Secondary indexes in 0.89
Date Wed, 07 Jul 2010 09:37:49 GMT
Hi Todd,

Thanks for that, I'm a bit new to HBase at the minute, so I might
refrain from making any changes just yet, however, if I get some spare
time I may compare 0.20 and 0.89 and see what the functional
differences are. Ignoring the tests, the bulk of the issues appear to
be changed method/constructor signatures and the absence of
HLogSplitter. Also, the POM doesn't have hadoop or zookeeper as
dependencies, yet depends on their classes.

Thanks for the pointers. I'm only trialing HBase at the moment, so in
the short-term I guess down-grading is the only option! However, if we
do decide to go with HBase, I'll definitely look into seeing if it's
possible to make the required changes.


PS, i'm working against hadoop 0.20.2 at the moment.

On 7 July 2010 09:23, Todd Lipcon <todd@cloudera.com> wrote:
> Hey Jamie,
> Since the secondary indexing package isn't part of HBase core, its progress
> may fall behind the core releases, depending on the activity of the
> maintainers. Because of that, we recently moved contrib packages like
> secondary indexing out of the HBase release onto github. The transactional
> indexed hbase package can be found here:
> http://github.com/hbase-trx/hbase-transactional-tableindexed
> <http://github.com/hbase-trx/hbase-transactional-tableindexed>Unfortunately,
> it hasn't yet been updated to work with 0.89/trunk. Since it's on github,
> you should definitely feel free to pick it up, or file an issue for the
> maintainers. If you do decide to pick up the contrib and update it to
> compile against trunk, feel free to ask on-list if you need any help
> understanding where things may have changed.
> Thanks
> -Todd
> On Wed, Jul 7, 2010 at 1:15 AM, Jamie Cockrill <jamie.cockrill@gmail.com>wrote:
>> Dear all,
>> I've installed HBase from the Cloudera repository, using the
>> karmic-cdh3 distribution, which evidently gives me hbase version
>> 0.89.20100621+17. I'm particularly interested in creating a few
>> secondary indexes and was initially using the following blog as an
>> example: (
>> http://rajeev1982.blogspot.com/2009/06/secondary-indexes-in-hbase.html).
>> Various classes used in this example no longer appear to exist and
>> having investigated a bit further, by comparing the API docs for
>> 0.20.5 and 0.89.20100621, it looks like those packages were removed.
>> I'm guessing that the HBase Versioning page is still correct in that
>> new features are being actively developed on the 0.89 branch and the
>> 0.20 branch is the stable release version.
>> Have those classes been superseded by something else? I did find, in
>> the package page for org.apache.hadoop.hbase.client
>> (
>> http://hbase.apache.org/docs/r0.89.20100621/apidocs/org/apache/hadoop/hbase/client/package-frame.html
>> )
>> a link at the bottom called 'Table Indexed HBase', but it is broken.
>> I'd rather not go through the pain of trying to create something
>> similar myself, or have to re-install my cluster from scratch, and by
>> hand with a downloaded version of the 0.20.5 branch. However, if thats
>> the only answer then I suppose it'll have to be!
>> Thanks,
>> Jamie
> --
> Todd Lipcon
> Software Engineer, Cloudera

View raw message