hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14343) Fix debug message in SimpleRegionNormalizer for small regions
Date Sat, 24 Oct 2015 08:21:27 GMT

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

Lars George commented on HBASE-14343:
-------------------------------------

No worries. Looks good to me, committing...

> Fix debug message in SimpleRegionNormalizer for small regions
> -------------------------------------------------------------
>
>                 Key: HBASE-14343
>                 URL: https://issues.apache.org/jira/browse/HBASE-14343
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 1.1.1
>            Reporter: Lars George
>            Assignee: Lars Francke
>            Priority: Trivial
>              Labels: beginner
>         Attachments: HBASE-14343-extended.patch, HBASE-14343.patch
>
>
> The {{SimpleRegionNormalizer}} has this:
> {code}
>      if ((smallestRegion.getSecond() + smallestNeighborOfSmallestRegion.getSecond()
>           < avgRegionSize)) {
>         LOG.debug("Table " + table + ", smallest region size: " + smallestRegion.getSecond()
>           + " and its smallest neighbor size: " + smallestNeighborOfSmallestRegion.getSecond()
>           + ", less than half the avg size, merging them");
> {code}
> It does *not* check for "less than half the avg size" but only "less than the avg size",
that is, drop the "half". Fix message.



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

Mime
View raw message