Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C21910FB1 for ; Wed, 6 Nov 2013 09:29:26 +0000 (UTC) Received: (qmail 48719 invoked by uid 500); 6 Nov 2013 09:29:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 48295 invoked by uid 500); 6 Nov 2013 09:29:21 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 47991 invoked by uid 99); 6 Nov 2013 09:29:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 09:29:19 +0000 Date: Wed, 6 Nov 2013 09:29:19 +0000 (UTC) From: "Nicolas Liochon (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8323) Low hanging checksum improvements 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/HBASE-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814737#comment-13814737 ] Nicolas Liochon commented on HBASE-8323: ---------------------------------------- I saw it while looking at a server. The class NativeCrc32 is not public in hadoop common, (while PureJavaCrc32C is public, in the java & hadoop meanings of the terms). The easiest way for HBase would be to reuse directly NativeCrc32... [~todd@lipcon.org], is there any problem if NativeCrc32 becomes public, or at least LimitedPrivate? > Low hanging checksum improvements > --------------------------------- > > Key: HBASE-8323 > URL: https://issues.apache.org/jira/browse/HBASE-8323 > Project: HBase > Issue Type: Improvement > Components: Performance > Reporter: Enis Soztutar > > Over at Hadoop land, [~tlipcon] had done some improvements for checksums, a native implementation for CRC32C (HADOOP-7445) and bulk verify of checksums (HADOOP-7444). > In HBase, we can do > - Also develop a bulk verify API. Regardless of hbase.hstore.bytes.per.checksum we always want to verify of the whole checksum for the hfile block. > - Enable NativeCrc32 to be used as a checksum algo. It is not clear how much gain we can expect over pure java CRC32. > Though, longer term we should focus on convincing hdfs guys for inline checksums (HDFS-2699) -- This message was sent by Atlassian JIRA (v6.1#6144)