You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2016/05/26 16:26:12 UTC
[jira] [Updated] (ACCUMULO-4151) DeleteRows failed when running
concurrently with delete table
[ https://issues.apache.org/jira/browse/ACCUMULO-4151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Drob updated ACCUMULO-4151:
--------------------------------
Fix Version/s: (was: 1.7.2)
1.7.3
> DeleteRows failed when running concurrently with delete table
> -------------------------------------------------------------
>
> Key: ACCUMULO-4151
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4151
> Project: Accumulo
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: Keith Turner
> Priority: Minor
> Fix For: 1.7.3, 1.8.0
>
>
> Saw this bug while running random walk against 1.7.1 RC2. A random walker failed with the following error. Based on the master a logs I think the table was being deleted when deleteRows was called. DeleteRows should just throw a table not found exception in this case.
> {noformat}
> 24 02:44:37,202 [randomwalk.Framework] ERROR: Error during random walk
> java.lang.Exception: Error running node Concurrent.xml
> at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:346)
> at org.apache.accumulo.test.randomwalk.Framework.run(Framework.java:59)
> at org.apache.accumulo.test.randomwalk.Framework.main(Framework.java:119)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.apache.accumulo.start.Main$2.run(Main.java:130)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.Exception: Error running node ct.DeleteRange
> at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:346)
> at org.apache.accumulo.test.randomwalk.Module$1.call(Module.java:283)
> at org.apache.accumulo.test.randomwalk.Module$1.call(Module.java:278)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
> ... 1 more
> Caused by: org.apache.accumulo.core.client.AccumuloException: Internal error processing waitForFateOperation
> at org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:303)
> at org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:261)
> at org.apache.accumulo.core.client.impl.TableOperationsImpl.doTableFateOperation(TableOperationsImpl.java:1427)
> at org.apache.accumulo.core.client.impl.TableOperationsImpl.deleteRows(TableOperationsImpl.java:512)
> at org.apache.accumulo.test.randomwalk.concurrent.DeleteRange.visit(DeleteRange.java:58)
> ... 9 more
> 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:233)
> at org.apache.accumulo.core.client.impl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:275)
> ... 13 more
> {noformat}
> Below are the master logs. The first line is a delete table operation unlocking the table ID. Then delete rows tried to run.
> {noformat}
> 2016-02-24 02:44:37,171 [tableOps.Utils] INFO : table 4k (19a98e4cdac2e9a6) unlocked for write
> 2016-02-24 02:44:37,173 [tableOps.Utils] INFO : namespace +default (19a98e4cdac2e9a6) unlocked for read
> 2016-02-24 02:44:37,179 [fate.Fate] WARN : Failed to execute Repo, tid=11fba34984c76dda
> java.lang.IllegalArgumentException: Table with id 4k does not exist
> at org.apache.accumulo.core.client.impl.Tables.getNamespaceId(Tables.java:239)
> at org.apache.accumulo.master.tableOps.TableRangeOp.isReady(TableRangeOp.java:47)
> at org.apache.accumulo.master.tableOps.TableRangeOp.isReady(TableRangeOp.java:35)
> at org.apache.accumulo.master.tableOps.TraceRepo.isReady(TraceRepo.java:47)
> at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:71)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
> at java.lang.Thread.run(Thread.java:745)
> 2016-02-24 02:44:37,184 [fate.Fate] INFO : Updated status for Repo with tid=11fba34984c76dda to FAILED_IN_PROGRESS
> 2016-02-24 02:44:37,185 [fate.Fate] WARN : Failed to undo Repo, tid=11fba34984c76dda
> java.lang.IllegalArgumentException: Table with id 4k does not exist
> at org.apache.accumulo.core.client.impl.Tables.getNamespaceId(Tables.java:239)
> at org.apache.accumulo.master.tableOps.TableRangeOp.undo(TableRangeOp.java:89)
> at org.apache.accumulo.master.tableOps.TableRangeOp.undo(TableRangeOp.java:35)
> at org.apache.accumulo.master.tableOps.TraceRepo.undo(TraceRepo.java:70)
> at org.apache.accumulo.fate.Fate$TransactionRunner.undo(Fate.java:146)
> at org.apache.accumulo.fate.Fate$TransactionRunner.processFailed(Fate.java:122)
> at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:67)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
> at java.lang.Thread.run(Thread.java:745)
> 2016-02-24 02:44:37,192 [master.MasterClientServiceHandler] ERROR: Table with id 4k does not exist
> java.lang.IllegalArgumentException: Table with id 4k does not exist
> at org.apache.accumulo.core.client.impl.Tables.getNamespaceId(Tables.java:239)
> at org.apache.accumulo.master.tableOps.TableRangeOp.isReady(TableRangeOp.java:47)
> at org.apache.accumulo.master.tableOps.TableRangeOp.isReady(TableRangeOp.java:35)
> at org.apache.accumulo.master.tableOps.TraceRepo.isReady(TraceRepo.java:47)
> at org.apache.accumulo.fate.Fate$TransactionRunner.run(Fate.java:71)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)