accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3774) Deadlock after recovering root tablet
Date Wed, 06 May 2015 17:34:02 GMT


Josh Elser commented on ACCUMULO-3774:

I believe the deadlock in this case is as follows:

* Metadata tablet tries to close
* Starts minor compaction
* Tries to write back into metadata

The write to metadata can't run until the minc finishes, and the minc can't finish until the
write to meta completes.

> Deadlock after recovering root tablet
> -------------------------------------
>                 Key: ACCUMULO-3774
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>         Environment: Hadoop 2.7.0, ZK 3.4.6, Accumulo 83d1b8388ad807d678c9a3a922e5025faa9a5933,
20 node m3.large EC2 cluster
>            Reporter: Keith Turner
>            Assignee: Eric Newton
>            Priority: Blocker
>             Fix For: 1.7.0
> I started CI running against 1.7.0-SNAP.   After CI ran for while I started agitation.
  Then everything froze up.   The root tablet node was killed, the root tablet had a lot of
walogs (will open a seperate issue for this), the root tablet was reloaded on another machine.
 However it hung up while loading with the following issue.  The minor compaction after recovery
was trying to write to the root tablet.  This happened before the root tablet location was
> {noformat}
> "Minor compacting +r<<" daemon prio=10 tid=0x00000000046cd800 nid=0x3508 in Object.wait()
>    java.lang.Thread.State: WAITING (on object monitor)
>         at java.lang.Object.wait(Native Method)
>         at java.lang.Object.wait(
>         at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.waitRTE(
>         at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(
>         - locked <0x000000078d154840> (a org.apache.accumulo.core.client.impl.TabletServerBatchWriter)
>         at org.apache.accumulo.core.client.impl.BatchWriterImpl.close(
>         at org.apache.accumulo.server.util.MetadataTableUtil.markLogUnused(
>         at org.apache.accumulo.tserver.TabletServer.markUnusedWALs(
>         at org.apache.accumulo.tserver.TabletServer.minorCompactionFinished(
>         at org.apache.accumulo.tserver.tablet.DatafileManager.bringMinorCompactionOnline(
>         at org.apache.accumulo.tserver.tablet.Tablet.minorCompact(
>         at
>         at org.apache.accumulo.tserver.tablet.Tablet.minorCompactNow(
>         at org.apache.accumulo.tserver.TabletServer$
>         at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler$
> {noformat}

This message was sent by Atlassian JIRA

View raw message