Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE1C7101E9 for ; Wed, 11 Sep 2013 14:11:55 +0000 (UTC) Received: (qmail 34900 invoked by uid 500); 11 Sep 2013 14:11:53 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 34773 invoked by uid 500); 11 Sep 2013 14:11:53 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 34437 invoked by uid 99); 11 Sep 2013 14:11:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 14:11:52 +0000 Date: Wed, 11 Sep 2013 14:11:52 +0000 (UTC) From: "Keith Turner (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1708) Error during minor compaction left tserver in bad state 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/ACCUMULO-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764334#comment-13764334 ] Keith Turner commented on ACCUMULO-1708: ---------------------------------------- I propose catching Error (OutOfMemoryException extends this) in minor compaction and halting the process. I am thinking this may be a good patch for 1.4.5, 1.5.1, and 1.6.0. A more general fix may be to make all server threads catch Error and halt the process, could do this for 1.6. Thoughts? > Error during minor compaction left tserver in bad state > ------------------------------------------------------- > > Key: ACCUMULO-1708 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1708 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.0 > Reporter: Keith Turner > Priority: Critical > Fix For: 1.6.0 > > > A tserver experienced a OOME during minor compaction. This OOME was thrown because java could not create a native thread. Minor compactions only catch declared exceptions and RuntimeExceptions. This left the system in a state where the compaction was not running but the tserver thought it was. This cause"flush -w" to hang and prevented the tserver from reclaiming memory. > For whatever reason the OOME handler that kills the process did not kick in (seems it only kicks in w/ OOME related to heap allocation). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira