You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (Created) (JIRA)" <ji...@apache.org> on 2012/01/10 01:34:43 UTC

[jira] [Created] (ACCUMULO-296) Security random walk table out of sync

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

        

[jira] [Updated] (ACCUMULO-296) Security random walk table out of sync

Posted by "Keith Turner (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Turner updated ACCUMULO-296:
----------------------------------

    Fix Version/s:     (was: 1.4.0)
                   1.4.1
    
> 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
>              Labels: 14_qa_bug
>             Fix For: 1.4.1
>
>
> 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

        

[jira] [Commented] (ACCUMULO-296) Security random walk table out of sync

Posted by "John Vines (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACCUMULO-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183287#comment-13183287 ] 

John Vines commented on ACCUMULO-296:
-------------------------------------

Your uncommitted change looks kosher
                
> 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