Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 39956 invoked from network); 10 Feb 2010 22:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 22:58:53 -0000 Received: (qmail 81737 invoked by uid 500); 10 Feb 2010 22:58:52 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 81702 invoked by uid 500); 10 Feb 2010 22:58:52 -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 81692 invoked by uid 99); 10 Feb 2010 22:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 22:58:52 +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, 10 Feb 2010 22:58:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 84B82234C495 for ; Wed, 10 Feb 2010 14:58:29 -0800 (PST) Message-ID: <1412310832.193611265842709542.JavaMail.jira@brutus.apache.org> Date: Wed, 10 Feb 2010 22:58:29 +0000 (UTC) From: "Kay Kay (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2209) Support of List [ ] in HBaseOutputWritable for serialization In-Reply-To: <36868965.169521265767227929.JavaMail.jira@brutus.apache.org> 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-2209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832269#action_12832269 ] Kay Kay commented on HBASE-2209: -------------------------------- This is kind of cheating in the sense, while deserializing - all List always comes down an ArrayList . As mentioned offline in the IRC by dj_ryan , avro as a generic solution for RPC would address a lot of this. But until that happens - here is the patch. > Support of List [ ] in HBaseOutputWritable for serialization > ------------------------------------------------------------- > > Key: HBASE-2209 > URL: https://issues.apache.org/jira/browse/HBASE-2209 > Project: Hadoop HBase > Issue Type: Improvement > Reporter: Kay Kay > Fix For: 0.21.0 > > Attachments: HBASE-2209.patch, HBASE-2209.patch > > > On a higher language semantics , List < > are very useful for manipulation and when finally sent down to the wire - the protocol currently seems to take only [ ] through an expensive copy. > Supporting List directly would save us the copy in terms of memory and add to faster / deserialization. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.