Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 96606 invoked from network); 20 Mar 2009 18:51:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2009 18:51:18 -0000 Received: (qmail 1139 invoked by uid 500); 20 Mar 2009 18:51:11 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 1104 invoked by uid 500); 20 Mar 2009 18:51:11 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 1093 invoked by uid 99); 20 Mar 2009 18:51:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 11:51:11 -0700 X-ASF-Spam-Status: No, hits=-1999.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION 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; Fri, 20 Mar 2009 18:51:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C8456234C004 for ; Fri, 20 Mar 2009 11:50:50 -0700 (PDT) Message-ID: <708189930.1237575050805.JavaMail.jira@brutus> Date: Fri, 20 Mar 2009 11:50:50 -0700 (PDT) From: "Klaas Bosteels (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5528) Binary partitioner In-Reply-To: <577817975.1237394570467.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/HADOOP-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683986#action_12683986 ] Klaas Bosteels commented on HADOOP-5528: ---------------------------------------- The meaning is different yes. Specifying _left = x_ means that the _x_ leftmost bytes will not be taken into account and, simlarily, specifying _right = y_ means that the _y_ rightmost bytes will not be taken into account. So the right offset is not relative to the first byte of the array, but to the last one. > Binary partitioner > ------------------ > > Key: HADOOP-5528 > URL: https://issues.apache.org/jira/browse/HADOOP-5528 > Project: Hadoop Core > Issue Type: New Feature > Components: mapred > Reporter: Klaas Bosteels > Assignee: Klaas Bosteels > Attachments: HADOOP-5528.patch > > > It would be useful to have a {{BinaryPartitioner}} that partitions {{BinaryComparable}} keys by hashing a configurable part of the bytes array corresponding to each key. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.