accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-3888) getActiveScans should not eat TableNotFoundExceptoin
Date Thu, 04 Jun 2015 03:25:38 GMT
Josh Elser created ACCUMULO-3888:

             Summary: getActiveScans should not eat TableNotFoundExceptoin
                 Key: ACCUMULO-3888
             Project: Accumulo
          Issue Type: Bug
          Components: client
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Critical
             Fix For: 1.8.0

Noticed this awkwardness during integration tests running against a real cluster.

org.apache.accumulo.core.client.TableNotFoundException: Table (Id=r) does not exist
 at org.apache.accumulo.core.client.impl.Tables.getTableName(
 at org.apache.accumulo.core.client.impl.ActiveScanImpl.<init>(
 at org.apache.accumulo.core.client.impl.InstanceOperationsImpl.getActiveScans(
 at org.apache.accumulo.test.functional.ScanIdIT.testScanId(

The table from the previous test was deleted at the end of the test, but, somehow, a tabletserver
returned an ActiveScan for that table. When the client tried to unwrap the table ID into a
table name, it got a TableNotFoundException.

Semantically, if a client is asking for active scans on a server, and the server reports a
scan for a table the client doesn't think exists, it's reasonable to assume it was just deleted
and not return that ActiveScan from the API call.

Right now, this situation results in an exception back to the client and they get no results.

This message was sent by Atlassian JIRA

View raw message