You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/01/15 02:52:12 UTC

[jira] [Commented] (HBASE-7566) remove useless ctor from HRegion and move sporadic null checks earlier

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

Matteo Bertozzi commented on HBASE-7566:
----------------------------------------

Why we had the code for creating a region with a null htd?
Why, in this patch, an htd without families is still allowed?
I think that the shell require at least one family to create a table.
                
> remove useless ctor from HRegion and move sporadic null checks earlier
> ----------------------------------------------------------------------
>
>                 Key: HBASE-7566
>                 URL: https://issues.apache.org/jira/browse/HBASE-7566
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>         Attachments: HBASE-7566-v0.patch
>
>
> Came up while I was doing something for HBASE-7236.
> There are inconsistent null checks in HRegion (few places check, few don't), probably related to an unused bogus test ctor. Remove ctor, move checks to an earlier location.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira