You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/01/08 00:55:51 UTC
[jira] [Commented] (ACCUMULO-1708) Error during minor compaction
left tserver in bad state
[ https://issues.apache.org/jira/browse/ACCUMULO-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864880#comment-13864880 ]
Josh Elser commented on ACCUMULO-1708:
--------------------------------------
[~kturner] is this still something you are wanting to try to get into 1.6.0? I remember being pointed to some pages which strongly recommended against catching Error. With the introduction of
{noformat}-XX:OnOutOfMemoryError="${ACCUMULO_KILL_CMD:-kill -9 %p}"{noformat}
in {{bin/accumulo}} and the ability for users to define their own {{ACCUMULO_KILL_CMD}} in {{accumulo-env.sh}}, is this even as big of a worry as previously?
> 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
>
> Attachments: ThreadTest.java
>
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)