Updated Branches:
  refs/heads/1.5.1-SNAPSHOT fbed7afab -> a147acdd6
  refs/heads/1.6.0-SNAPSHOT ecdd8528d -> 9440d15cb
  refs/heads/master 9496199d0 -> 88a9b53d6


ACCUMULO-2183 Look for the thrift SecurityErrorCode since this is coming from 
the ThriftSecurityException.


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

Branch: refs/heads/1.5.1-SNAPSHOT
Commit: 956c32f8fa258ea0b87f267675cdcec91e16dce1
Parents: fbed7af
Author: Josh Elser <els...@apache.org>
Authored: Thu Jan 23 12:15:10 2014 -0500
Committer: Josh Elser <els...@apache.org>
Committed: Thu Jan 23 12:15:10 2014 -0500

----------------------------------------------------------------------
 .../org/apache/accumulo/test/randomwalk/security/Validate.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/956c32f8/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java
----------------------------------------------------------------------
diff --git 
a/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java 
b/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java
index 2a3e445..047bba3 100644
--- 
a/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java
+++ 
b/test/src/main/java/org/apache/accumulo/test/randomwalk/security/Validate.java
@@ -108,7 +108,7 @@ public class Validate extends Test {
       auths = 
WalkingSecurity.get(state).getUserAuthorizations(WalkingSecurity.get(state).getTabCredentials());
       accuAuths = 
conn.securityOperations().getUserAuthorizations(WalkingSecurity.get(state).getTabUserName());
     } catch (ThriftSecurityException ae) {
-      if (ae.getCode().equals(SecurityErrorCode.USER_DOESNT_EXIST)) {
+      if 
(ae.getCode().equals(org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode.USER_DOESNT_EXIST))
 {
         if (tableUserExists)
           throw new AccumuloException("Table user didn't exist when they 
should.", ae);
         else

Reply via email to