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 8931F18ABD for ; Mon, 4 Jan 2016 03:30:42 +0000 (UTC) Received: (qmail 47057 invoked by uid 500); 4 Jan 2016 03:30:42 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 47009 invoked by uid 500); 4 Jan 2016 03:30:42 -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 46996 invoked by uid 99); 4 Jan 2016 03:30:42 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2016 03:30:42 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C48802C1F6D for ; Mon, 4 Jan 2016 03:30:41 +0000 (UTC) Date: Mon, 4 Jan 2016 03:30:41 +0000 (UTC) From: "Pankaj Kumar (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/HBASE-11625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pankaj Kumar updated HBASE-11625: --------------------------------- Affects Version/s: 1.0.1.1 1.0.3 > 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: Pankaj Kumar > Fix For: 2.0.0 > > Attachments: 2711de1fdf73419d9f8afc6a8b86ce64.gz, HBASE-11625.patch > > > 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)