[ 
https://issues.apache.org/jira/browse/ACCUMULO-4143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143453#comment-15143453
 ] 

Christopher Tubbs commented on ACCUMULO-4143:
---------------------------------------------

Looked at the master logs, and it looks like the fate operation threw up with:
{code}
java.lang.RuntimeException: java.util.ConcurrentModificationException
  at 
org.apache.accumulo.server.master.state.TabletStateChangeIterator.setMigrations(TabletStateChangeIterator.java:237)
  at 
org.apache.accumulo.server.master.state.MetaDataTableScanner.configureScanner(MetaDataTableScanner.java:89)
  at org.apache.accumulo.master.tableOps.CleanUp.isReady(DeleteTable.java:101)
  at org.apache.accumulo.master.tableOps.CleanUp.isReady(DeleteTable.java:63)
  at org.apache.accumulo.master.tableOps.TraceRepo.isReady(TraceRepo.java:44)
  at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:66)
  at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:34)
  at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.ConcurrentModificationException
  at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115)
  at java.util.TreeMap$KeyIterator.next(TreeMap.java:1169)
  at 
org.apache.accumulo.server.master.state.TabletStateChangeIterator.setMigrations(TabletStateChangeIterator.java:233)
  ... 7 more
{code}

Problem appears to be caused by the master's tracking of migrations being 
modified while the table is being deleted.

> DeleteTableDuringSplitIT.test() fails occasionally
> --------------------------------------------------
>
>                 Key: ACCUMULO-4143
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4143
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Christopher Tubbs
>             Fix For: 1.6.6, 1.7.1, 1.8.0
>
>
> Saw this twice during 1.6.5-rc1 failing:
> {code}
> test(org.apache.accumulo.test.functional.DeleteTableDuringSplitIT)  Time 
> elapsed: 182.218 sec  <<< ERROR!
> java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
> org.apache.accumulo.core.client.AccumuloException: Internal error processing 
> waitForFateOperation
>       at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>       at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>       at 
> org.apache.accumulo.test.functional.DeleteTableDuringSplitIT.test(DeleteTableDuringSplitIT.java:94)
> Caused by: java.lang.RuntimeException: 
> org.apache.accumulo.core.client.AccumuloException: Internal error processing 
> waitForFateOperation
>       at 
> org.apache.accumulo.test.functional.DeleteTableDuringSplitIT$2.run(DeleteTableDuringSplitIT.java:80)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       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.core.client.AccumuloException: Internal error 
> processing waitForFateOperation
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:336)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:294)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doTableFateOperation(TableOperationsImpl.java:1592)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.delete(TableOperationsImpl.java:679)
>       at 
> org.apache.accumulo.test.functional.DeleteTableDuringSplitIT$2.run(DeleteTableDuringSplitIT.java:78)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       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.thrift.TApplicationException: Internal error processing 
> waitForFateOperation
>       at 
> org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
>       at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$Client.recv_waitForFateOperation(FateService.java:174)
>       at 
> org.apache.accumulo.core.master.thrift.FateService$Client.waitForFateOperation(FateService.java:159)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.waitForFateOperation(TableOperationsImpl.java:266)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:308)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:294)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.doTableFateOperation(TableOperationsImpl.java:1592)
>       at 
> org.apache.accumulo.core.client.impl.TableOperationsImpl.delete(TableOperationsImpl.java:679)
>       at 
> org.apache.accumulo.test.functional.DeleteTableDuringSplitIT$2.run(DeleteTableDuringSplitIT.java:78)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to