Details
Description
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:
this.desiredMaxFileSize += (long)(desiredMaxFileSize * (RANDOM.nextFloat() - 0.5D) * jitter);
In our case we specify MAX_FILESIZE to Long.MAX_VALUE to prevent target region to split.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-17058 Lower epsilon used for jitter verification from HBASE-15324
- Closed