Description
Saw the following bug while running the random walk test. I think this is just a bug in the test, it does not handle case were permissions change during a scan.
03 14:08:15,431 [randomwalk.Framework] ERROR: Error during random walk java.lang.Exception: Error running node Concurrent.xml at org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:259) at org.apache.accumulo.server.test.randomwalk.Framework.run(Framework.java:61) at org.apache.accumulo.server.test.randomwalk.Framework.main(Framework.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.accumulo.start.Main$1.run(Main.java:89) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.Exception: Error running node ct.IsolatedScan at org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:259) at org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:251) ... 8 more Caused by: java.lang.RuntimeException: org.apache.accumulo.core.client.AccumuloSecurityException: Error PERMISSION_DENIED - User does not have permission to perform this action at org.apache.accumulo.core.client.impl.ScannerIterator.hasNext(ScannerIterator.java:186) at org.apache.accumulo.core.client.IsolatedScanner$RowBufferingIterator.readRow(IsolatedScanner.java:68) at org.apache.accumulo.core.client.IsolatedScanner$RowBufferingIterator.<init>(IsolatedScanner.java:144) at org.apache.accumulo.core.client.IsolatedScanner.iterator(IsolatedScanner.java:230) at org.apache.accumulo.core.client.RowIterator.<init>(RowIterator.java:117) at org.apache.accumulo.server.test.randomwalk.concurrent.IsolatedScan.visit(IsolatedScan.java:51) at org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:251) ... 9 more Caused by: org.apache.accumulo.core.client.AccumuloSecurityException: Error PERMISSION_DENIED - User does not have permission to perform this action at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:470) at org.apache.accumulo.core.client.impl.ThriftScanner.scan(ThriftScanner.java:295)