dlmarion commented on pull request #2240:
URL: https://github.com/apache/accumulo/pull/2240#issuecomment-904599616


   So, I wrote a new test in CompactionIT. The compaction fails with a 
TableNotFoundException, but at a different point in the code. I wonder if this 
is already handled.
   
   ```
   org.apache.accumulo.core.client.TableNotFoundException: Table (Id=1) does 
not exist (Table does not exist)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:390)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.compact(TableOperationsImpl.java:866)
        at 
org.apache.accumulo.test.functional.CompactionIT.testDeleteTableAbortsCompaction(CompactionIT.java:223)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.lang.Thread.run(Thread.java:829)
   Caused by: ThriftTableOperationException(tableId:1, tableName:, op:COMPACT, 
type:NOTFOUND, description:Table does not exist)
        at 
org.apache.accumulo.core.manager.thrift.FateService$waitForFateOperation_result$waitForFateOperation_resultStandardScheme.read(FateService.java:4731)
        at 
org.apache.accumulo.core.manager.thrift.FateService$waitForFateOperation_result$waitForFateOperation_resultStandardScheme.read(FateService.java:1)
        at 
org.apache.accumulo.core.manager.thrift.FateService$waitForFateOperation_result.read(FateService.java:4626)
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:88)
        at 
org.apache.accumulo.core.manager.thrift.FateService$Client.recv_waitForFateOperation(FateService.java:157)
        at 
org.apache.accumulo.core.manager.thrift.FateService$Client.waitForFateOperation(FateService.java:142)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.waitForFateOperation(TableOperationsImpl.java:303)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:372)
        ... 16 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to