Josh Elser created ACCUMULO-2862:
------------------------------------

             Summary: 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


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)

Reply via email to