hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4032) HBASE-451 improperly breaks public API HRegionInfo#getTableDesc
Date Tue, 05 Jul 2011 17:17:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060010#comment-13060010

Ted Yu commented on HBASE-4032:

HBASE-451 is an incompatible change.
I wonder why HRegionInfo#getTableDesc should return a meaningful table descriptor after the
change where HRegionInfo no longer keeps reference to table descriptor.

Unit test code has been retrofitted to not depend on HRegionInfo#getTableDesc.
I doubt user would write code that explicitly uses HRegionInfo#getTableDesc.

> HBASE-451 improperly breaks public API HRegionInfo#getTableDesc
> ---------------------------------------------------------------
>                 Key: HBASE-4032
>                 URL: https://issues.apache.org/jira/browse/HBASE-4032
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.92.0
> After HBASE-451, HRegionInfo#getTableDesc has been modified to always return {{null}}.

> One immediate effect is broken unit tests.
> That aside, it is not in the spirit of deprecation to actually break the method until
after the deprecation cycle, it's a bug.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message