[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Attachment: (was: 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 > > 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)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ 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)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Description: >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. was: >From the codes, hbase namespace meta table should not allowed to be split. {quote} 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; } {quote} But recently, I see two namespace regions in our production deployment. It may be cased by restarting when cluster is in certain state. > 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)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Description: >From the codes, hbase namespace meta table should not allowed to be split. {quote} 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; } {quote} But recently, I see two namespace regions in our production deployment. It may be cased by restarting when cluster is in certain state. was: >From the codes, hbase namespace meta table should not allowed to be split. {quote} 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; } {quote} But recently, I see two namespace regions in our production deployment. it may cased by restart clusters. > 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. > {quote} > 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; > } > {quote} > 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)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Description: >From the codes, hbase namespace meta table should not allowed to be split. {quote} 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; } {quote} But recently, I see two namespace regions in our production deployment. it may cased by restart clusters. > 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. > {quote} > 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; > } > {quote} > But recently, I see two namespace regions in our production deployment. it > may cased by restart clusters. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ 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 see the attached pictures, you fill find that there are 2 regions with same start and end key for hbase:namesapce table > 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 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Attachment: (was: Capture.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 > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-17295) The namespace table has two regions
[ https://issues.apache.org/jira/browse/HBASE-17295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chang chen updated HBASE-17295: --- Attachment: Capture.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: Capture.PNG > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)