Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 67426 invoked from network); 15 Sep 2008 23:58:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 23:58:11 -0000 Received: (qmail 84693 invoked by uid 500); 15 Sep 2008 23:58:01 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 84675 invoked by uid 500); 15 Sep 2008 23:58:01 -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 84651 invoked by uid 99); 15 Sep 2008 23:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 16:58:01 -0700 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; Mon, 15 Sep 2008 23:57:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6277B234C1DF for ; Mon, 15 Sep 2008 16:57:44 -0700 (PDT) Message-ID: <1766969132.1221523064402.JavaMail.jira@brutus> Date: Mon, 15 Sep 2008 16:57:44 -0700 (PDT) From: "Owen O'Malley (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4151) Add a memcmp-compatible interface for key types In-Reply-To: <1145072740.1221083324339.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Owen O'Malley updated HADOOP-4151: ---------------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] (was: [Incompatible change]) Status: Resolved (was: Patch Available) I just committed this. Thanks, Chris! > Add a memcmp-compatible interface for key types > ----------------------------------------------- > > Key: HADOOP-4151 > URL: https://issues.apache.org/jira/browse/HADOOP-4151 > Project: Hadoop Core > Issue Type: Improvement > Reporter: Chris Douglas > Assignee: Chris Douglas > Priority: Minor > Fix For: 0.19.0 > > Attachments: 4151-0.patch, 4151-1.patch, 4151-2.patch, 4151-3.patch, 4151-4.patch > > > Sometimes it's beneficial to treat types (like BytesWritable and Text) as byte arrays, agnostic to their type. Adding an interface to tag key types as amenable to this treatment can permit optimizations and reuse for that subset of types in tools and libraries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.