Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 9154 invoked from network); 17 Aug 2007 00:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 00:23:53 -0000 Received: (qmail 67563 invoked by uid 500); 17 Aug 2007 00:23:50 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 67528 invoked by uid 500); 17 Aug 2007 00:23:50 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 67519 invoked by uid 99); 17 Aug 2007 00:23:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 17:23:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 00:23:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 949697141FE for ; Thu, 16 Aug 2007 17:23:30 -0700 (PDT) Message-ID: <29602435.1187310210604.JavaMail.jira@brutus> Date: Thu, 16 Aug 2007 17:23:30 -0700 (PDT) From: "Jim Kellerman (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1727) Make ...hbase.io.MapWritable more generic so that it can be included in ...hadoop.io In-Reply-To: <5400565.1187305892934.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-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520425 ] Jim Kellerman commented on HADOOP-1727: --------------------------------------- On Fri, 2007-08-17 at 01:14 +0200, Andrzej Bialecki wrote: jimk@apache.org wrote: > > Author: jimk > > Date: Thu Aug 16 15:51:03 2007 > > New Revision: 566878 > > > > Changes: > > > > New class MapWritable replaces KeyedData and KeyedDataArrayWritable > > There is already a class with this name in Nutch > (org.apache.nutch.crawl.MapWritable), which serves basically the same > purpose, only it's able to hold instances of different classes (both > keys and values), and (de)serialize them efficiently. Is there any > chance to merge these two implementations? Absolutely. When we developed the version for HBase we were unaware of the Nutch class. When I asked Doug Cutting if he thought our MapWritable would be useful in Hadoop, he pointed me to the Nutch class and also suggested using RefllectionUtils, so that, indeed, is the plan. > Make ...hbase.io.MapWritable more generic so that it can be included in ...hadoop.io > ------------------------------------------------------------------------------------ > > Key: HADOOP-1727 > URL: https://issues.apache.org/jira/browse/HADOOP-1727 > Project: Hadoop > Issue Type: New Feature > Components: io > Affects Versions: 0.15.0 > Reporter: Jim Kellerman > Assignee: Jim Kellerman > Priority: Minor > Fix For: 0.15.0 > > > The class org.apache.hadoop.hbase.io.MapWritable could be made more generic through the use of ReflectionUtils so that it could support more Map key and value classes. Currently it supports Map only. > When more generalized, submit for consideration to be included in org.apache.hadoop.io -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.