Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 26395 invoked from network); 25 Apr 2009 05:06:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Apr 2009 05:06:54 -0000 Received: (qmail 41588 invoked by uid 500); 25 Apr 2009 05:06:53 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 41539 invoked by uid 500); 25 Apr 2009 05:06:53 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 41529 invoked by uid 99); 25 Apr 2009 05:06:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 05:06:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Apr 2009 05:06:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8F90F234C003 for ; Fri, 24 Apr 2009 22:06:30 -0700 (PDT) Message-ID: <1183850884.1240635990573.JavaMail.jira@brutus> Date: Fri, 24 Apr 2009 22:06:30 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1183) New MR splitting algorithm and other new features need a way to split a key range in N chunks In-Reply-To: <574840690.1233698879649.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702650#action_12702650 ] stack commented on HBASE-1183: ------------------------------ Jon'ey, patch looks good, but how about a unit test if only to demo how useful your fancy new BigInteger doohickey is? I can help... or, since we now have a TestBytes class, it should be super easy: testSplit.... > 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.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.