Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 60379 invoked from network); 28 May 2008 18:22:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 18:22:08 -0000 Received: (qmail 8385 invoked by uid 500); 28 May 2008 18:22:10 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 8368 invoked by uid 500); 28 May 2008 18:22:10 -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 8357 invoked by uid 99); 28 May 2008 18:22:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 11:22:10 -0700 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, 28 May 2008 18:21:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0DF5E234C12A for ; Wed, 28 May 2008 11:21:45 -0700 (PDT) Message-ID: <969054850.1211998905054.JavaMail.jira@brutus> Date: Wed, 28 May 2008 11:21:45 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-646) EOFException opening HStoreFile info file (spin on HBASE-645 and 550) In-Reply-To: <319481680.1211953905044.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-646: ------------------------ Attachment: 646.patch This patch looks for empty info files on open (and for empty data files). {code} M src/java/org/apache/hadoop/hbase/HStore.java Check info file is not empty. If it is, log and continue. Added also a check for an empty data file. Possible if data loss in hdfs. If empty, remove the mapfile and info file and report. (isEmptyDataFile): Added. M src/java/org/apache/hadoop/hbase/HRegion.java Added test for null before using resultSets and keys data members. If fail on construction, these will be null throwing NPE hiding real issue. {code} > EOFException opening HStoreFile info file (spin on HBASE-645 and 550) > --------------------------------------------------------------------- > > Key: HBASE-646 > URL: https://issues.apache.org/jira/browse/HBASE-646 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Attachments: 646.patch > > > {code} > 2008-05-28 05:46:06,271 ERROR org.apache.hadoop.hbase.HRegionServer: error opening region enwiki_080312_meta,UzbHXtgD-y4ZIUVDJIXXK-==,1207951941241 > java.io.EOFException > at java.io.DataInputStream.readByte(Unknown Source) > at org.apache.hadoop.hbase.HStoreFile.loadInfo(HStoreFile.java:298) > at org.apache.hadoop.hbase.HStore.(HStore.java:808) > at org.apache.hadoop.hbase.HRegion.(HRegion.java:431) > at org.apache.hadoop.hbase.HRegionServer.openRegion(HRegionServer.java:1256) > at org.apache.hadoop.hbase.HRegionServer$Worker.run(HRegionServer.java:1202) > at java.lang.Thread.run(Unknown Source) > {code} > Lets get rid of info files when we move to new mapfile format. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.