hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-14838) Region Normalizer does not merge empty region of a table
Date Thu, 19 Nov 2015 02:56:10 GMT

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

Josh Elser updated HBASE-14838:
-------------------------------
    Description: 
SImpleRegionNormalizer does not merge empty region of a table

Steps to repro:
- Create an empty table with few, say 5-6 regions without any data in any of them
- Verify hbase:meta table to verify the regions for the table or check HMaster UI
- Enable normalizer switch and normalization for this table
- Run normalizer, by 'normalize' command from hbase shell
- Verify the regions for table by scanning hbase:meta table or checking HMaster web UI

The empty regions are not merged on running the region normalizer. This seems to be an edge
case with completely empty regions since the Normalizer checks for: smallestRegion (in this
case 0 size) + smallestNeighborOfSmallestRegion (in this case 0 size) > avg region size
(in this case 0 size)
thanks to [~elserj] for verifying this from the source code side

  was:
Region Normalizer does not merge empty region of a table

Steps to repro:
- Create an empty table with few, say 5-6 regions without any data in any of them
- Verify hbase:meta table to verify the regions for the table or check HMaster UI
- Enable normalizer switch and normalization for this table
- Run normalizer, by 'normalize' command from hbase shell
- Verify the regions for table by scanning hbase:meta table or checking HMaster web UI

The empty regions are not merged on running the region normalizer. This seems to be an edge
case with completely empty regions since the Normalizer checks for: smallestRegion (in this
case 0 size) + smallestNeighborOfSmallestRegion (in this case 0 size) > avg region size
(in this case 0 size)
thanks to [~elserj] for verifying this from the source code side


> Region Normalizer does not merge empty region of a table
> --------------------------------------------------------
>
>                 Key: HBASE-14838
>                 URL: https://issues.apache.org/jira/browse/HBASE-14838
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.1.2
>            Reporter: Romil Choksi
>
> SImpleRegionNormalizer does not merge empty region of a table
> Steps to repro:
> - Create an empty table with few, say 5-6 regions without any data in any of them
> - Verify hbase:meta table to verify the regions for the table or check HMaster UI
> - Enable normalizer switch and normalization for this table
> - Run normalizer, by 'normalize' command from hbase shell
> - Verify the regions for table by scanning hbase:meta table or checking HMaster web UI
> The empty regions are not merged on running the region normalizer. This seems to be an
edge case with completely empty regions since the Normalizer checks for: smallestRegion (in
this case 0 size) + smallestNeighborOfSmallestRegion (in this case 0 size) > avg region
size (in this case 0 size)
> thanks to [~elserj] for verifying this from the source code side



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

Mime
View raw message