public void checkIteratorConflicts(String tableName, IteratorSetting cfg, EnumSet<IteratorScope> scopes) throws D4mException { TableOperations tops = this.connector.tableOperations(); try { tops.checkIteratorConflicts(tableName, cfg, scopes); } catch (AccumuloException | TableNotFoundException e) { log.warn("",e); throw new D4mException(e); } }
@Override public void checkIteratorConflicts(ByteBuffer login, String tableName, org.apache.accumulo.proxy.thrift.IteratorSetting setting, Set<org.apache.accumulo.proxy.thrift.IteratorScope> scopes) throws org.apache.accumulo.proxy.thrift.AccumuloException, org.apache.accumulo.proxy.thrift.AccumuloSecurityException, org.apache.accumulo.proxy.thrift.TableNotFoundException, TException { try { getConnector(login).tableOperations().checkIteratorConflicts(tableName, getIteratorSetting(setting), getIteratorScopes(scopes)); } catch (Exception e) { handleExceptionTNF(e); } }
break; case 4: ops.checkIteratorConflicts(tableName, setting, EnumSet.allOf(IteratorScope.class)); fail(); break;