hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1822) Remove the deprecated APIs
Date Thu, 17 Sep 2009 00:01:57 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jonathan Gray resolved HBASE-1822.

      Resolution: Fixed
    Release Note: Removed deprecated API calls and internal references to family:qualifier
    Hadoop Flags: [Incompatible change, Reviewed]

This has been committed to trunk. (25,000 line patch, eek)

It completely removes the old API and is an attempt at removing all remaining references to
family:qualifier notation.  It drops the mapred and rest packages completely, in favor of
the new mapreduce package and stargate.  Things like HStoreKey, RowResult, and BatchUpdate
are gone.

The only remaining calls related to fam:qf notation are KeyValue.makeColumn(fam,qf) and KeyValue.parseColumn(col)
which takes a byte[] and splits it on the :.  If it's just family it returns a single dimension
only with the family in it, no :.  This switched a bit as to how it worked, and it's used
heavily in my adapting Thrift, Stargate, and Transactional/Indexed to work and pass their
tests after ripping out old API calls they were using.

Those same contrib modules (should we move thrift to contrib?) really need a reworking of
some sort (stargate is probably fine, except some nastiness in tests), as they are heavily
tied to the old API and their new API compatibility was just a bolt on.

So this may have destabilized trunk a bit.  Please file issues if you run into problems.

All unit tests pass.

> Remove the deprecated APIs
> --------------------------
>                 Key: HBASE-1822
>                 URL: https://issues.apache.org/jira/browse/HBASE-1822
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jonathan Gray
>             Fix For: 0.21.0
>         Attachments: HBASE-1822-v1.patch, HBASE-1822-v2.patch, HBASE-1822-v3.patch, HBASE-1822-v5.patch,
> Remove all the deprecated stuff in client and mapred.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message