You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/07/05 19:17:16 UTC

[jira] [Commented] (HBASE-4032) HBASE-451 improperly breaks public API HRegionInfo#getTableDesc

    [ 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