Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 66053 invoked from network); 8 Jul 2009 06:30:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 06:30:30 -0000 Received: (qmail 55073 invoked by uid 500); 8 Jul 2009 06:30:40 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 55039 invoked by uid 500); 8 Jul 2009 06:30:40 -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 55029 invoked by uid 99); 8 Jul 2009 06:30:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 06:30:39 +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, 08 Jul 2009 06:30:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0E51D234C004 for ; Tue, 7 Jul 2009 23:30:15 -0700 (PDT) Message-ID: <452516509.1247034615043.JavaMail.jira@brutus> Date: Tue, 7 Jul 2009 23:30:15 -0700 (PDT) From: "Jonathan Gray (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1622) Make KeyValue implement the Comparable interface to make it work with Cascading. In-Reply-To: <1604198844.1246992014798.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-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728530#action_12728530 ] Jonathan Gray commented on HBASE-1622: -------------------------------------- How would the KV know it's comparator? Needs to be lightweight. Maybe we should have KeyValueComparable or something if we are going to end up extending KV in otherwise unnecessary ways (or more importantly, ways that might lead to misuse in other places). Would just extend KV and add Comparable interface... we could even optionally pass in comparator on instantiation. Might do the same for Result? I hate to add more classes, especially with long names... just thinking. > Make KeyValue implement the Comparable interface to make it work with Cascading. > -------------------------------------------------------------------------------- > > Key: HBASE-1622 > URL: https://issues.apache.org/jira/browse/HBASE-1622 > Project: Hadoop HBase > Issue Type: New Feature > Affects Versions: 0.20.0 > Reporter: Erik Holstad > Assignee: Erik Holstad > Priority: Minor > Fix For: 0.20.0 > > Attachments: HBASE-1622-v1.patch, HBASE-1622-v2.patch > > > As with making Result implement the Comparable interface, this is used for making HBase interact tightly with cascading, so that KeyValues can be put into Tuples. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.