Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 082B6200B40 for ; Wed, 1 Jun 2016 22:39:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 06D44160A45; Wed, 1 Jun 2016 20:39:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4DA0C160A4C for ; Wed, 1 Jun 2016 22:39:00 +0200 (CEST) Received: (qmail 250 invoked by uid 500); 1 Jun 2016 20:38:59 -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 184 invoked by uid 99); 1 Jun 2016 20:38:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 20:38:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 55F002C1F5C for ; Wed, 1 Jun 2016 20:38:59 +0000 (UTC) Date: Wed, 1 Jun 2016 20:38:59 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11625) Reading datablock throws "Invalid HFile block magic" and can not switch to hdfs checksum MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Jun 2016 20:39:01 -0000 [ https://issues.apache.org/jira/browse/HBASE-11625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311064#comment-15311064 ] Andrew Purtell commented on HBASE-11625: ---------------------------------------- If you could do that 1.1 patch without HBASE-11927 I might be able to take the result a further delta back into 0.98 - at least there's a possibility. > Reading datablock throws "Invalid HFile block magic" and can not switch to hdfs checksum > ----------------------------------------------------------------------------------------- > > Key: HBASE-11625 > URL: https://issues.apache.org/jira/browse/HBASE-11625 > Project: HBase > Issue Type: Bug > Components: HFile > Affects Versions: 0.94.21, 0.98.4, 0.98.5, 1.0.1.1, 1.0.3 > Reporter: qian wang > Assignee: Appy > Fix For: 2.0.0, 1.3.0, 1.4.0, 1.2.2 > > Attachments: 2711de1fdf73419d9f8afc6a8b86ce64.gz, HBASE-11625-branch-1-v1.patch, HBASE-11625-branch-1.2-v1.patch, HBASE-11625-branch-1.2-v2.patch, HBASE-11625-branch-1.2-v3.patch, HBASE-11625-branch-1.2-v4.patch, HBASE-11625-master-v2.patch, HBASE-11625-master-v3.patch, HBASE-11625-master.patch, HBASE-11625.patch, correct-hfile, corrupted-header-hfile > > > when using hbase checksum,call readBlockDataInternal() in hfileblock.java, it could happen file corruption but it only can switch to hdfs checksum inputstream till validateBlockChecksum(). If the datablock's header corrupted when b = new HFileBlock(),it throws the exception "Invalid HFile block magic" and the rpc call fail -- This message was sent by Atlassian JIRA (v6.3.4#6332)