milleruntime commented on a change in pull request #99: Replace Thrift types 
with TableNotFoundException
URL: https://github.com/apache/accumulo-testing/pull/99#discussion_r306052123
 
 

 ##########
 File path: 
src/main/java/org/apache/accumulo/testing/randomwalk/concurrent/Config.java
 ##########
 @@ -153,10 +150,8 @@ public void visit(State state, RandWalkEnv env, 
Properties props) throws Excepti
           env.getAccumuloClient().namespaceOperations().setProperty(namespace, 
property.getKey(),
               property.getDefaultValue());
         } catch (AccumuloException ex) {
-          if (ex.getCause() instanceof ThriftTableOperationException) {
-            ThriftTableOperationException ttoe = 
(ThriftTableOperationException) ex.getCause();
-            if (ttoe.type == TableOperationExceptionType.NAMESPACE_NOTFOUND)
-              return;
+          if (ex.getCause() instanceof TableNotFoundException) {
 
 Review comment:
   I think so good catch.  Fixed in 6a87136

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to