Security random walk table out of sync
--------------------------------------
Key: ACCUMULO-296
URL: https://issues.apache.org/jira/browse/ACCUMULO-296
Project: Accumulo
Issue Type: Bug
Reporter: Keith Turner
Assignee: Keith Turner
Fix For: 1.4.0
Saw the following while running random walk test
{noformat}
09 21:02:38,622 [randomwalk.Framework] ERROR: Error during random walk
java.lang.Exception: Error running node Security.xml
at
org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:236)
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 security.Validate
at
org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:236)
at
org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:234)
... 8 more
Caused by: org.apache.accumulo.core.client.AccumuloException: Table existance
out of sync
at
org.apache.accumulo.server.test.randomwalk.security.Validate.validate(Validate.java:45)
at
org.apache.accumulo.server.test.randomwalk.security.Validate.visit(Validate.java:36)
at
org.apache.accumulo.server.test.randomwalk.Module.visit(Module.java:234)
... 9 more
{noformat}
Had the following uncommited change, could be causing the problem but I do not
think so.
{noformat}
### Eclipse Workspace Patch 1.0
#P accumulo-core-1.4.0-incubating-SNAPSHOT
Index: src/main/java/org/apache/accumulo/core/client/impl/Tables.java
===================================================================
--- src/main/java/org/apache/accumulo/core/client/impl/Tables.java
(revision 1229298)
+++ src/main/java/org/apache/accumulo/core/client/impl/Tables.java
(working copy)
@@ -89,7 +89,7 @@
}
public static void clearCache(Instance instance) {
- getZooCache(instance).clear();
+ getZooCache(instance).clear(ZooUtil.getRoot(instance) + Constants.ZTABLES);
}
public static String getPrintableTableNameFromId(Map<String,String>
tidToNameMap, String tableId) {
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira