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 F0BD318E04 for ; Wed, 23 Dec 2015 18:20:46 +0000 (UTC) Received: (qmail 87000 invoked by uid 500); 23 Dec 2015 18:20:46 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 86953 invoked by uid 500); 23 Dec 2015 18:20:46 -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 86933 invoked by uid 99); 23 Dec 2015 18:20:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2015 18:20:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A9FCD2C1F54 for ; Wed, 23 Dec 2015 18:20:46 +0000 (UTC) Date: Wed, 23 Dec 2015 18:20:46 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4090) BatchWriter close not cleaning up all resources 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-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15069995#comment-15069995 ] Josh Elser commented on ACCUMULO-4090: -------------------------------------- bq. Looking at the TabletServerBatchWriter objects in the heap dump I see that the closed field is always false. I wonder if the root cause is that this field is not marked as volatile (and the flushing field may be an issue too). Wouldn't those only need to be volatile if they were accessed outside of synchronized blocks? As far as I see, {{closed}} is only accessed inside synchronized methods. > BatchWriter close not cleaning up all resources > ----------------------------------------------- > > Key: ACCUMULO-4090 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4090 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.7.0 > Reporter: Eric Newton > Assignee: Eric Newton > > I'm debugging an issue with a long-running ingestor, similar to the TraceServer. > After realizing that BatchWriter close needs to be called when a MutationsRejectedException occurs (see ACCUMULO-4088), a close was added, and the client became more stable. > However, after a day, or so, the client became sluggish. When inspecting a heap dump, many TabletServerBatchWriter objects were still referenced. This server should only have two BatchWriter instances at any one time, and this server had >100. > Still debugging. > The error that initiates the issue is a SessionID not found, presumably because the session timed out. This is the cause of the MutationsRejectedException seen by the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)