You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/07/22 22:01:09 UTC
[GitHub] [accumulo-testing] milleruntime commented on a change in pull
request #99: Replace Thrift types with TableNotFoundException
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:
users@infra.apache.org
With regards,
Apache Git Services