Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6732187A7 for ; Tue, 18 Aug 2015 01:29:46 +0000 (UTC) Received: (qmail 54031 invoked by uid 500); 18 Aug 2015 01:29:45 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 53867 invoked by uid 500); 18 Aug 2015 01:29:45 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 53637 invoked by uid 99); 18 Aug 2015 01:29:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2015 01:29:45 +0000 Date: Tue, 18 Aug 2015 01:29:45 +0000 (UTC) From: "Ted Yu (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-14234) Exception encountered in WALProcedureStore#rollWriter() should be properly handled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ted Yu created HBASE-14234: ------------------------------ Summary: Exception encountered in WALProcedureStore#rollWriter() should be properly handled Key: HBASE-14234 URL: https://issues.apache.org/jira/browse/HBASE-14234 Project: HBase Issue Type: Bug Reporter: Ted Yu Assignee: Ted Yu Priority: Minor Observed the following in recent Jenkins build (https://builds.apache.org/job/HBase-TRUNK/6732/console): {code} testWALfencingWithoutWALRolling(org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures) Time elapsed: 9.938 sec <<< ERROR! org.apache.hadoop.ipc.RemoteException: failed to create file /user/jenkins/test-data/0d9e3047-6bb1-4219-9ed2-5b9884176321/MasterProcWALs/state-00000000000000000002.log for DFSClient_NONMAPREDUCE_-966558185_1 for client 127.0.0.1 because current leaseholder is trying to recreate file. at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.recoverLeaseInternal(FSNamesystem.java:2589) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2386) {code} When file creation fails (e.g. due to RemoteException), we should handle the exception by returning false. Similar handling can be applied to failure in writing header. -- This message was sent by Atlassian JIRA (v6.3.4#6332)