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 4B5F4DDFD for ; Thu, 5 Jul 2012 18:10:35 +0000 (UTC) Received: (qmail 59099 invoked by uid 500); 5 Jul 2012 18:10:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 59061 invoked by uid 500); 5 Jul 2012 18:10:35 -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 59053 invoked by uid 99); 5 Jul 2012 18:10:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 18:10:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id B8806142854 for ; Thu, 5 Jul 2012 18:10:34 +0000 (UTC) Date: Thu, 5 Jul 2012 18:10:34 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: issues@hbase.apache.org Message-ID: <2109364056.10065.1341511834761.JavaMail.jiratomcat@issues-vm> In-Reply-To: <845252028.337.1341348274781.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6318) SplitLogWorker exited due to ConcurrentModificationException 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-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407344#comment-13407344 ] Jimmy Xiang commented on HBASE-6318: ------------------------------------ If we add that, the split log worker daemon thread will die, and this region server will not help on distributed log splitting any more. Here, it is normal to terminate a log writer thread since the task is taken by a different region server. It is not a failure case so we don't want to kill the worker thread. What do you think? > SplitLogWorker exited due to ConcurrentModificationException > ------------------------------------------------------------ > > Key: HBASE-6318 > URL: https://issues.apache.org/jira/browse/HBASE-6318 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.96.0 > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Attachments: 6138.patch, 6318-hbase.patch, 6318-suggest.txt, 6318.log > > > In playing with 0.96 code on a live cluster, found this issue: > 2012-07-03 12:13:32,572 ERROR org.apache.hadoop.hbase.regionserver.SplitLogWorker: unexpected error > java.util.ConcurrentModificationException > at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100) > at java.util.TreeMap$ValueIterator.next(TreeMap.java:1145) > at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter$OutputSink.closeLogWriters(HLogSplitter.java:1330) > at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter$OutputSink.finishWritingAndClose(HLogSplitter.java:1221) > at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFileToTemp(HLogSplitter.java:441) > at org.apache.hadoop.hbase.regionserver.wal.HLogSplitter.splitLogFileToTemp(HLogSplitter.java:369) > at org.apache.hadoop.hbase.regionserver.SplitLogWorker$1.exec(SplitLogWorker.java:113) > at org.apache.hadoop.hbase.regionserver.SplitLogWorker.grabTask(SplitLogWorker.java:276) > at org.apache.hadoop.hbase.regionserver.SplitLogWorker.taskLoop(SplitLogWorker.java:197) > at org.apache.hadoop.hbase.regionserver.SplitLogWorker.run(SplitLogWorker.java:164) > at java.lang.Thread.run(Thread.java:662) > 2012-07-03 12:13:32,575 INFO org.apache.hadoop.hbase.regionserver.SplitLogWorker: SplitLogWorker ****.cloudera.com,57020,1341335300238 exiting -- 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