Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 25524 invoked from network); 16 Sep 2009 22:58:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 22:58:22 -0000 Received: (qmail 65912 invoked by uid 500); 16 Sep 2009 22:58:22 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 65875 invoked by uid 500); 16 Sep 2009 22:58:22 -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 65780 invoked by uid 99); 16 Sep 2009 22:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 22:58:22 +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; Wed, 16 Sep 2009 22:58:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C76A234C1EE for ; Wed, 16 Sep 2009 15:57:57 -0700 (PDT) Message-ID: <1821083459.1253141877574.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 15:57:57 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1829) Make use of start/stop row in TableInputFormat In-Reply-To: <1964622033.1252686418721.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-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756273#action_12756273 ] stack commented on HBASE-1829: ------------------------------ Or, rather, I got this when I tried the patch (RowCounter on a table loaded up with PE): {code} 09/09/16 15:56:23 INFO zookeeper.ClientCnxn: Server connection successful Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.hadoop.hbase.KeyValue$KeyComparator.compare(KeyValue.java:1722) at org.apache.hadoop.hbase.KeyValue$KeyComparator.compare(KeyValue.java:1758) at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:296) at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:885) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:779) at org.apache.hadoop.mapreduce.Job.submit(Job.java:432) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:447) at org.apache.hadoop.hbase.mapreduce.RowCounter.main(RowCounter.java:125) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.hbase.mapreduce.Driver.main(Driver.java:41) {code} > Make use of start/stop row in TableInputFormat > ---------------------------------------------- > > Key: HBASE-1829 > URL: https://issues.apache.org/jira/browse/HBASE-1829 > Project: Hadoop HBase > Issue Type: Improvement > Components: mapred > Affects Versions: 0.20.0 > Reporter: Lars George > Assignee: Lars George > Priority: Minor > Fix For: 0.20.1 > > Attachments: HBASE-1829.patch > > > Since we can now specify a start and stop row with the Scan that is handed to the TIF we can reduce the splits to the regions that contain these rows. That allows to test large MR jobs on a single region for example. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.