hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chang chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17295) The namespace table has two regions
Date Mon, 12 Dec 2016 15:03:58 GMT

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

Chang chen updated HBASE-17295:
-------------------------------
    Attachment: bug.PNG

> The namespace table has two regions
> -----------------------------------
>
>                 Key: HBASE-17295
>                 URL: https://issues.apache.org/jira/browse/HBASE-17295
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Chang chen
>         Attachments: bug.PNG
>
>
> From the codes, hbase namespace meta table should not allowed to be split.
> {code:title=HRegion#checkSplit}
> public byte[] checkSplit() {
>     // Can't split META
>     if (this.getRegionInfo().isMetaTable() ||
>         TableName.NAMESPACE_TABLE_NAME.equals(this.getRegionInfo().getTable())) {
>       if (shouldForceSplit()) {
>         LOG.warn("Cannot split meta region in HBase 0.20 and above");
>       }
>       return null;
>     }
>     //.....
> }
> {code}
> But recently,  I see two namespace regions  in our production deployment. It may be cased
by restarting when cluster is in certain state.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message