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 70842173F2 for ; Tue, 14 Apr 2015 00:37:12 +0000 (UTC) Received: (qmail 69794 invoked by uid 500); 14 Apr 2015 00:37:12 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 69745 invoked by uid 500); 14 Apr 2015 00:37:12 -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 69734 invoked by uid 99); 14 Apr 2015 00:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2015 00:37:12 +0000 Date: Tue, 14 Apr 2015 00:37:12 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3723) TabletServerBatchReaderIterator can eat OOM exceptions 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-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493367#comment-14493367 ] Josh Elser commented on ACCUMULO-3723: -------------------------------------- Along the same lines, I think we catch Error in at least one place which is a big no-no as well. IIRC, the Error-catch was related to noticing *when* an OOME happens, but it might be better removed than any benefit it provides (especially with the {code}-XX:OnOutOfMemoryError="${ACCUMULO_KILL_CMD:-kill -9 %p}"{code} we have in bin/accumulo now) > TabletServerBatchReaderIterator can eat OOM exceptions > ------------------------------------------------------ > > Key: ACCUMULO-3723 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3723 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.6.0 > Reporter: John Vines > > Currently in run() it catches Throwable and does no effort to force up catastrophic errors. In general we shouldn't be catching Throwable unless we know exactly what we're doing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)