Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 54911 invoked from network); 31 Jul 2010 06:48:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Jul 2010 06:48:44 -0000 Received: (qmail 75974 invoked by uid 500); 31 Jul 2010 06:48:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 75916 invoked by uid 500); 31 Jul 2010 06:48: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 75898 invoked by uid 99); 31 Jul 2010 06:48:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jul 2010 06:48:41 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Jul 2010 06:48:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6V6mH6j005683 for ; Sat, 31 Jul 2010 06:48:17 GMT Message-ID: <27850528.101011280558897055.JavaMail.jira@thor> Date: Sat, 31 Jul 2010 02:48:17 -0400 (EDT) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-2461) Split doesn't handle IOExceptions when creating new region reference files 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-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-2461: ------------------------- Attachment: 2461-v4.txt Implementation done. Tests next. > Split doesn't handle IOExceptions when creating new region reference files > -------------------------------------------------------------------------- > > Key: HBASE-2461 > URL: https://issues.apache.org/jira/browse/HBASE-2461 > Project: HBase > Issue Type: Bug > Components: regionserver > Reporter: Todd Lipcon > Assignee: stack > Priority: Blocker > Fix For: 0.90.0 > > Attachments: 2461-v2.txt, 2461-v3.txt, 2461-v4.txt, 2461.txt > > > I was testing an HDFS patch which had a bug in it, so it happened to throw an NPE during a split with the following trace: > 2010-04-16 19:18:20,727 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region TestTable,-1945465867<1271449232310>,1271453785648 > java.lang.NullPointerException > at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.enqueueCurrentPacket(DFSClient.java:3124) > at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.flushInternal(DFSClient.java:3220) > at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.closeInternal(DFSClient.java:3306) > at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.close(DFSClient.java:3255) > at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:61) > at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:86) > at org.apache.hadoop.fs.FileSystem.createNewFile(FileSystem.java:560) > at org.apache.hadoop.hbase.util.FSUtils.create(FSUtils.java:95) > at org.apache.hadoop.hbase.io.Reference.write(Reference.java:129) > at org.apache.hadoop.hbase.regionserver.StoreFile.split(StoreFile.java:498) > at org.apache.hadoop.hbase.regionserver.HRegion.splitRegion(HRegion.java:682) > at org.apache.hadoop.hbase.regionserver.CompactSplitThread.split(CompactSplitThread.java:162) > at org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:95) > After that, my region was gone, any further writes to it would fail. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.