Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 4429 invoked from network); 7 Dec 2009 23:40:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Dec 2009 23:40:43 -0000 Received: (qmail 3136 invoked by uid 500); 7 Dec 2009 23:40:43 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 2978 invoked by uid 500); 7 Dec 2009 23:40:41 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 2913 invoked by uid 99); 7 Dec 2009 23:40:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2009 23:40:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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, 07 Dec 2009 23:40:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49A03234C4A8 for ; Mon, 7 Dec 2009 15:40:18 -0800 (PST) Message-ID: <253298715.1260229218300.JavaMail.jira@brutus> Date: Mon, 7 Dec 2009 23:40:18 +0000 (UTC) From: "Aaron Kimball (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Commented: (HADOOP-6323) Serialization should provide comparators In-Reply-To: <327167619.1256058359485.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787197#action_12787197 ] Aaron Kimball commented on HADOOP-6323: --------------------------------------- Looking at this issue, it seems that the API needs to be extended with the signature mentioned in the first comment; then the various implementations (there are three listed above) need to be updated to match it. WritableSerialization and JavaSerialization look pretty straightforward at first glance, as their corresponding RawComparator implementations (WritableComparator and JavaSerializationComparator) already themselves have factories. AvroSerialization I think is a bit more complicated -- the schema needs to be read in from the metadata, then a comparator instantiated over this metadata. I'm not as familiar with the avro classes involved, so I'd need to keep digging to figure out where exactly this all lies. Doug? Jacob, I was actually looking at trying to get this working this week myself -- I finally freed up some room in my schedule and I figured a crash course in Avro was overdue. Let me know if you feel strongly about tackling it yourself though. > Serialization should provide comparators > ---------------------------------------- > > Key: HADOOP-6323 > URL: https://issues.apache.org/jira/browse/HADOOP-6323 > Project: Hadoop Common > Issue Type: New Feature > Components: io > Reporter: Doug Cutting > > The Serialization interface should permit one to create raw comparators. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.