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 DA0FD10246 for ; Wed, 8 Jan 2014 20:42:50 +0000 (UTC) Received: (qmail 51974 invoked by uid 500); 8 Jan 2014 20:42:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51946 invoked by uid 500); 8 Jan 2014 20:42:50 -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 51937 invoked by uid 99); 8 Jan 2014 20:42:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jan 2014 20:42:50 +0000 Date: Wed, 8 Jan 2014 20:42:50 +0000 (UTC) From: "Gustavo Anatoly (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9948) HMaster should handle duplicate log split requests 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-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865867#comment-13865867 ] Gustavo Anatoly commented on HBASE-9948: ---------------------------------------- Okay > HMaster should handle duplicate log split requests > -------------------------------------------------- > > Key: HBASE-9948 > URL: https://issues.apache.org/jira/browse/HBASE-9948 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Gustavo Anatoly > Attachments: HBASE-9948-v2.patch, HBASE-9948.patch, runtest.sh > > > I saw the following in test output for TestRestartCluster: > {code} > 2013-11-11 19:59:55,538 DEBUG [M:0;kiyo:36213] master.SplitLogManager(327): Scheduling batch of logs to split > 2013-11-11 19:59:55,538 INFO [M:0;kiyo:36213] master.SplitLogManager(329): started splitting 1 logs in [hdfs://localhost:46376/user/hortonzy/hbase/WALs/kk,44962,1384199990193-splitting] > 2013-11-11 19:59:55,538 WARN [M:0;kiyo:36213] master.SplitLogManager(1048): Failure because two threads can't wait for the same task; path=/hbase/splitWAL/WALs%2Fkk%2C44962%2C1384199990193-splitting%2Fkk%252C44962%252C1384199990193.1384199993702.meta > 2013-11-11 19:59:55,538 FATAL [M:0;kiyo:36213] master.HMaster(2188): Master server abort: loaded coprocessors are: [org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint] > 2013-11-11 19:59:55,538 FATAL [M:0;kiyo:36213] master.HMaster(2193): Unhandled exception. Starting shutdown. > java.io.IOException: duplicate log split scheduled for hdfs://localhost:46376/user/hortonzy/hbase/WALs/kk,44962,1384199990193-splitting/kk%2C44962%2C1384199990193.1384199993702.meta > at org.apache.hadoop.hbase.master.SplitLogManager.splitLogDistributed(SplitLogManager.java:343) > at org.apache.hadoop.hbase.master.MasterFileSystem.splitLog(MasterFileSystem.java:409) > at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:301) > at org.apache.hadoop.hbase.master.MasterFileSystem.splitMetaLog(MasterFileSystem.java:292) > at org.apache.hadoop.hbase.master.HMaster.assignMeta(HMaster.java:1038) > at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:868) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:605) > at java.lang.Thread.run(Thread.java:724) > 2013-11-11 19:59:55,539 INFO [M:0;kiyo:36213] master.HMaster(2386): Aborting > 2013-11-11 19:59:55,539 DEBUG [M:0;kiyo:36213] master.HMaster(1234): Stopping service threads > {code} > HMaster should handle duplicate log split requests, instead of aborting. -- This message was sent by Atlassian JIRA (v6.1.5#6160)