hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15324) Jitter may cause desiredMaxFileSize overflow in ConstantSizeRegionSplitPolicy and trigger unexpected split
Date Thu, 25 Feb 2016 06:26:18 GMT

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

Yu Li updated HBASE-15324:
--------------------------
    Attachment: HBASE-15324.patch

A straight forward patch to fix the issue.

To supplement, the region will split with small store size when overflow occurs and cause
really bad perf issue.

> Jitter may cause desiredMaxFileSize overflow in ConstantSizeRegionSplitPolicy and trigger
unexpected split
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15324
>                 URL: https://issues.apache.org/jira/browse/HBASE-15324
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.1.3
>            Reporter: Yu Li
>            Assignee: Yu Li
>         Attachments: HBASE-15324.patch
>
>
> We introduce jitter for region split decision in HBASE-13412, but the following line
in {{ConstantSizeRegionSplitPolicy}} may cause long value overflow if MAX_FILESIZE is specified
to Long.MAX_VALUE:
> {code}
> this.desiredMaxFileSize += (long)(desiredMaxFileSize * (RANDOM.nextFloat() - 0.5D) *
jitter);
> {code}
> In our case we specify MAX_FILESIZE to Long.MAX_VALUE to prevent target region to split.



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

Mime
View raw message