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 93423182BF for ; Wed, 7 Oct 2015 16:34:39 +0000 (UTC) Received: (qmail 76522 invoked by uid 500); 7 Oct 2015 16:34:27 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 76398 invoked by uid 500); 7 Oct 2015 16:34:27 -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 76264 invoked by uid 99); 7 Oct 2015 16:34:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 16:34:27 +0000 Date: Wed, 7 Oct 2015 16:34:26 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14392) [tests] TestLogRollingNoCluster fails on master from time to time 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-14392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947166#comment-14947166 ] stack commented on HBASE-14392: ------------------------------- Thanks for the input [~sebastianco] > [tests] TestLogRollingNoCluster fails on master from time to time > ----------------------------------------------------------------- > > Key: HBASE-14392 > URL: https://issues.apache.org/jira/browse/HBASE-14392 > Project: HBase > Issue Type: Bug > Components: test > Reporter: stack > Assignee: stack > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: 14392.txt, 14392.txt, 14392v2.txt, 14392v2.txt, 14392v2.txt > > > TestLogRollingNoCluster fails from time to time on a rig I have running here. > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 > Running org.apache.hadoop.hbase.regionserver.wal.TestLogRollingNoCluster > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.155 sec - in org.apache.hadoop.hbase.regionserver.wal.TestLogRollingNoCluster > Results : > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > The test itself is a bit odd. We apparently have seen NPEs around close of a WAL while trying to sync... which I suppose makes sense if two threads involved. > Attached patch just fails the sync silently if stream is null... lets presume it a close. Adds a sync on write of trailer too... > This patch seems to have gotten rid of the odd failure seen on a particular box here if I keep cycling the test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)