Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 38057 invoked from network); 20 Dec 2009 10:04:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Dec 2009 10:04:41 -0000 Received: (qmail 51315 invoked by uid 500); 20 Dec 2009 10:04:40 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 51260 invoked by uid 500); 20 Dec 2009 10:04: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 51246 invoked by uid 99); 20 Dec 2009 10:04:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Dec 2009 10:04:40 +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; Sun, 20 Dec 2009 10:04:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1311E234C045 for ; Sun, 20 Dec 2009 02:04:18 -0800 (PST) Message-ID: <744025753.1261303458064.JavaMail.jira@brutus> Date: Sun, 20 Dec 2009 10:04:18 +0000 (UTC) From: "Lars George (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2055) Serialize WAL as Avro records In-Reply-To: <404475344.1261160538266.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-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792979#action_12792979 ] Lars George commented on HBASE-2055: ------------------------------------ Great stuff Andy, this block marker makes totally sense also in the context of log splitting, which needs blocks of the log being presorted by the RS's before they get applied. With the marker this is a natural fit. BigTable does 64k chunks too (during sorts). > Serialize WAL as Avro records > ----------------------------- > > Key: HBASE-2055 > URL: https://issues.apache.org/jira/browse/HBASE-2055 > Project: Hadoop HBase > Issue Type: Improvement > Reporter: Andrew Purtell > Priority: Minor > Attachments: HBASE-2055-v2.patch, HBASE-2055-v3.patch, HBASE-2055.patch, jackson-core-asl-1.0.1.jar, jackson-mapper-asl-1.0.1.jar, paranamer-1.5.jar, TEST-org.apache.hadoop.hbase.regionserver.wal.TestHLog.txt.gz, TEST-org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.txt.gz, TEST-org.apache.hadoop.hbase.TestFullLogReconstruction.txt.gz, test-site.patch > > > There was some advocacy of using Avro for serialization of HBase WAL records up on hbase-dev@. Idea is Hadoop core is getting away from Writables and Avro is the blessed replacement. > I think we have this criteria for its use: > 1) Performance of writing Avro records is no worse than that for writing Writables into a SequenceFile. > 2) Space consumed by Avro serialization is no worse than that of Writables > 3) File format is amenable to appends (cannot require valid trailers, etc.) > I'll put up a patch so we can try it out. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.