Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 54935 invoked from network); 8 Jul 2008 12:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 12:28:26 -0000 Received: (qmail 43408 invoked by uid 500); 8 Jul 2008 12:28:27 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 43391 invoked by uid 500); 8 Jul 2008 12:28:27 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 43380 invoked by uid 99); 8 Jul 2008 12:28:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 05:28:27 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 12:27:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6D6A234C15B for ; Tue, 8 Jul 2008 05:27:34 -0700 (PDT) Message-ID: <676722587.1215520054812.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 05:27:34 -0700 (PDT) From: "Jean-Daniel Cryans (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-706) On OOME, regionserver sticks around and doesn't go down with cluster In-Reply-To: <1628470186.1214415284990.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-706: ------------------------------------- Attachment: loader.jsp > On OOME, regionserver sticks around and doesn't go down with cluster > -------------------------------------------------------------------- > > Key: HBASE-706 > URL: https://issues.apache.org/jira/browse/HBASE-706 > Project: Hadoop HBase > Issue Type: Bug > Reporter: stack > Assignee: Jean-Daniel Cryans > Fix For: 0.2.0 > > Attachments: loader.jsp > > > On John Gray cluster, an errant, massive, store file caused us OOME. Shutdown of cluster left this regionserver in place. A thread dump failed with OOME. Here is last thing in log: > {code} > 2008-06-25 03:21:55,111 INFO org.apache.hadoop.hbase.HRegionServer: worker thread exiting > 2008-06-25 03:24:26,923 FATAL org.apache.hadoop.hbase.HRegionServer: Set stop flag in regionserver/0:0:0:0:0:0:0:0:60020.cacheFlusher > java.lang.OutOfMemoryError: Java heap space > at java.util.HashMap.(HashMap.java:226) > at java.util.HashSet.(HashSet.java:103) > at org.apache.hadoop.hbase.HRegionServer.getRegionsToCheck(HRegionServer.java:1789) > at org.apache.hadoop.hbase.HRegionServer$Flusher.enqueueOptionalFlushRegions(HRegionServer.java:479) > at org.apache.hadoop.hbase.HRegionServer$Flusher.run(HRegionServer.java:385) > 2008-06-25 03:24:26,923 INFO org.apache.hadoop.ipc.Server: IPC Server handler 2 on 60020, call batchUpdate(items,,1214272763124, 9223372036854775807, org.apache.hadoop.hbase.io.BatchUpdate@67d6b1e2) from 192.168.249.230:38278: error: java.io.IOException: Server not running > java.io.IOException: Server not running > at org.apache.hadoop.hbase.HRegionServer.checkOpen(HRegionServer.java:1758) > at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:1547) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:413) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:901) > {code} > If I get an OOME just trying to threaddump, would seem to indicate we need to start keeping a little memory resevoir around for emergencies such as this just so we can shutdown clean. > Moving this into 0.2. Seems important to fix if robustness is name of the game. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.