You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bh...@apache.org on 2014/03/18 21:55:42 UTC

[02/10] git commit: ACCUMULO-2491 Correct table user state upon termination of Security randomwalk

ACCUMULO-2491 Correct table user state upon termination of Security randomwalk

A partial backport of ACCUMULO-1162 to 1.4 - commit e93a11a only. As the Security randomwalk
ends and drops the table user, it now also sets the user's existence flag to false.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4a27da54
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4a27da54
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4a27da54

Branch: refs/heads/1.5.2-SNAPSHOT
Commit: 4a27da54696ed97b197ce0abd5bef0a2ccfc2b80
Parents: a417424
Author: Bill Havanki <bh...@cloudera.com>
Authored: Tue Mar 18 10:11:20 2014 -0400
Committer: Bill Havanki <bh...@cloudera.com>
Committed: Tue Mar 18 16:43:54 2014 -0400

----------------------------------------------------------------------
 .../accumulo/server/test/randomwalk/security/SecurityHelper.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/4a27da54/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/security/SecurityHelper.java
----------------------------------------------------------------------
diff --git a/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/security/SecurityHelper.java b/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/security/SecurityHelper.java
index a4f715d..ec3154f 100644
--- a/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/security/SecurityHelper.java
+++ b/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/security/SecurityHelper.java
@@ -73,6 +73,7 @@ public class SecurityHelper {
   
   public static void setTabUserName(State state, String tabUserName) {
     state.set(tUserName, tabUserName);
+    setTabUserExists(state, false);
   }
   
   public static byte[] getSysUserPass(State state) {