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 406AA102AA for ; Fri, 6 Jun 2014 00:29:42 +0000 (UTC) Received: (qmail 6060 invoked by uid 500); 5 Jun 2014 22:43:02 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 5964 invoked by uid 500); 5 Jun 2014 22:43:02 -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 5851 invoked by uid 99); 5 Jun 2014 22:43:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 22:43:01 +0000 Date: Thu, 5 Jun 2014 22:43:01 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2862) Major Compaction issues 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-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019364#comment-14019364 ] Josh Elser commented on ACCUMULO-2862: -------------------------------------- Looks like the Compaction got cancelled because the Tablet was closing (that is the {{closeState}} was set to {{CloseState.CLOSING}}). The other check {{TabletServer.isMajorCompactionDisabled()}} is never true. > Major Compaction issues > ----------------------- > > Key: ACCUMULO-2862 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2862 > Project: Accumulo > Issue Type: Bug > Components: tserver > Reporter: Josh Elser > Assignee: Eric Newton > Fix For: 1.7.0 > > Attachments: eric-proposed-changes.diff > > > Since the last round of tserver/tablet refactoring, I've been getting some spurious errors while running two tservers on a single node with a single continuous ingest client. > {noformat} > java.lang.RuntimeException: java.lang.IllegalStateException: Major compacting files not empty [...] > at org.apache.accumulo.tserver.tablet.Tablet.majorCompact(Tablet.java:1998) > at org.apache.accumulo.tserver.tablet.CompactionRunner.run(CompactionRunner.java:42) > at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:42) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.IllegalStateException: Major compacting files not empty [...] > at org.apache.accumulo.tserver.tablet.DatafileManager.reserveMajorCompactingFiles(DatafileManager.java:484) > at org.apache.accumulo.tserver.tablet.Tablet._majorCompact(Tablet.java:1797) > at org.apache.accumulo.tserver.tablet.Tablet.majorCompact(Tablet.java:1986) > ... 7 more > 2014-06-05 16:46: > {noformat} > As well as some CompactionCanceledExceptions. > {noformat} > Thread "major compactor 2" died org.apache.accumulo.tserver.tablet.Compactor$CompactionCanceledException > java.lang.RuntimeException: org.apache.accumulo.tserver.tablet.Compactor$CompactionCanceledException > at org.apache.accumulo.tserver.tablet.Tablet.majorCompact(Tablet.java:1970) > at org.apache.accumulo.tserver.tablet.CompactionRunner.run(CompactionRunner.java:42) > at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:42) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.accumulo.tserver.tablet.Compactor$CompactionCanceledException > at org.apache.accumulo.tserver.tablet.Compactor.compactLocalityGroup(Compactor.java:370) > at org.apache.accumulo.tserver.tablet.Compactor.call(Compactor.java:206) > at org.apache.accumulo.tserver.tablet.Tablet._majorCompact(Tablet.java:1853) > at org.apache.accumulo.tserver.tablet.Tablet.majorCompact(Tablet.java:1962) > ... 7 more > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)