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/06/06 00:43:01 UTC
[jira] [Commented] (ACCUMULO-2862) Major Compaction issues
[ 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)