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 CD2F17295 for ; Mon, 19 Dec 2011 22:57:52 +0000 (UTC) Received: (qmail 81838 invoked by uid 500); 19 Dec 2011 22:57:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 81801 invoked by uid 500); 19 Dec 2011 22:57:52 -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 81786 invoked by uid 99); 19 Dec 2011 22:57:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 22:57:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 22:57:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A37F811C616 for ; Mon, 19 Dec 2011 22:57:30 +0000 (UTC) Date: Mon, 19 Dec 2011 22:57:30 +0000 (UTC) From: "stack (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <2067879659.28527.1324335450670.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1836247013.12650.1323894570778.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5029) TestDistributedLogSplitting fails on occasion 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-5029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172707#comment-13172707 ] stack commented on HBASE-5029: ------------------------------ Something like this: {code} diff --git src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java index a3eb32f..cbef70f 100644 --- src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java +++ src/main/java/org/apache/hadoop/hbase/regionserver/wal/SequenceFileLogWriter.java @@ -211,7 +211,12 @@ public class SequenceFileLogWriter implements HLog.Writer { @Override public void close() throws IOException { if (this.writer != null) { - this.writer.close(); + try { + this.writer.close(); + } catch (NullPointerException npe) { + // Can get a NPE coming up from down in DFSClient$DFSOutputStream#close + LOG.warn(npe); + } this.writer = null; } } {code} I could commit above along w/ removal of the '@Ignore' to see how it does up on jenkins? > TestDistributedLogSplitting fails on occasion > --------------------------------------------- > > Key: HBASE-5029 > URL: https://issues.apache.org/jira/browse/HBASE-5029 > Project: HBase > Issue Type: Bug > Reporter: stack > Assignee: Prakash Khemani > Priority: Critical > Attachments: 0001-HBASE-5029-jira-TestDistributedLogSplitting-fails-on.patch, 5029-addingignore.txt, HBASE-5029.D891.1.patch, HBASE-5029.D891.2.patch > > > This is how it usually fails: https://builds.apache.org/view/G-L/view/HBase/job/HBase-0.92/lastCompletedBuild/testReport/org.apache.hadoop.hbase.master/TestDistributedLogSplitting/testWorkerAbort/ > Assigning mighty Prakash since he offered to take a looksee. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira