Return-Path: Delivered-To: apmail-hadoop-hbase-issues-archive@minotaur.apache.org Received: (qmail 57725 invoked from network); 16 Apr 2010 14:08:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Apr 2010 14:08:46 -0000 Received: (qmail 51585 invoked by uid 500); 16 Apr 2010 14:08:46 -0000 Delivered-To: apmail-hadoop-hbase-issues-archive@hadoop.apache.org Received: (qmail 51567 invoked by uid 500); 16 Apr 2010 14:08:46 -0000 Mailing-List: contact hbase-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hbase-issues@hadoop.apache.org Received: (qmail 51559 invoked by uid 99); 16 Apr 2010 14:08:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 14:08:46 +0000 X-ASF-Spam-Status: No, hits=-1300.2 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 14:08:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3GE8OmY003531 for ; Fri, 16 Apr 2010 10:08:25 -0400 (EDT) Message-ID: <9777996.9471271426904926.JavaMail.jira@thor> Date: Fri, 16 Apr 2010 10:08:24 -0400 (EDT) From: "Todd Lipcon (JIRA)" To: hbase-issues@hadoop.apache.org Subject: [jira] Commented: (HBASE-2458) RS stuck in TreeMap,remove 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-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857819#action_12857819 ] Todd Lipcon commented on HBASE-2458: ------------------------------------ In particular, HConnectionManager.locateRegionInMeta calls getCachedLocation outside of the regionLockObject. Although this appears to be "read only", the SoftValueSortedMap calls through to treemap.remove and rq.poll, both of which are mutative. Possible fixes: 1) add synchronization around getCachedLocation in HCM.locateRegionInMeta, or 2) Add synchronization internal to SoftValueSortedMap so that it becomes threadsafe. [this appears to have been introduced by HBASE-2034] > RS stuck in TreeMap,remove > -------------------------- > > Key: HBASE-2458 > URL: https://issues.apache.org/jira/browse/HBASE-2458 > Project: Hadoop HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.20.4 > Reporter: Todd Lipcon > Priority: Blocker > Attachments: stack.txt > > > Testing 0.20_pre_durability@934691 one of my region servers got permanently stuck with one thread looping inside TreeMap.remove. See attached stack. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira