[
https://issues.apache.org/jira/browse/HBASE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gray updated HBASE-1183:
---------------------------------
Attachment: hbase-1183-v4.patch
Another fix for case when you have leading 0s in the original start or stop
rows. Rather than preprending a 0, we prepend byte[]{1,0} and then remove at
least the 1 at the end. If second byte is a zero, we drop it, otherwise keep
it.
This definitely needs a solid unit test. Will post a unit test tomorrow.
> New MR splitting algorithm and other new features need a way to split a key
> range in N chunks
> ---------------------------------------------------------------------------------------------
>
> Key: HBASE-1183
> URL: https://issues.apache.org/jira/browse/HBASE-1183
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: util
> Reporter: Jonathan Gray
> Assignee: Jonathan Gray
> Priority: Minor
> Fix For: 0.19.1, 0.20.0
>
> Attachments: hbase-1183-v1.patch, hbase-1183-v2.patch,
> hbase-1183-v3.patch, hbase-1183-v4.patch
>
>
> For HBASE-1172 and other functionality coming soon, we need to be able to
> take a [start,stop) range and divide it into chunks.
> For example, we have 10 regions but want to run 30 maps. We need to divide
> each region into three key ranges for the start/stop of each scanner.
> Implementing using java.math.BigInteger
> Will also include a couple additional helpers in Bytes to make life easy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.