accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3157) MetaDataTableScanner is unclosed upon return from FindOfflineTablets#findOffline()
Date Sat, 20 Sep 2014 18:31:34 GMT
Ted Yu created ACCUMULO-3157:
--------------------------------

             Summary: MetaDataTableScanner is unclosed upon return from FindOfflineTablets#findOffline()
                 Key: ACCUMULO-3157
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3157
             Project: Accumulo
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    Iterator<TabletLocationState> rootScanner = new MetaDataTableScanner(instance, creds,
MetadataSchema.TabletsSection.getRange(), RootTable.NAME);
    if ((offline = checkTablets(rootScanner, tservers)) > 0)
      return offline;
...
    Iterator<TabletLocationState> metaScanner = new MetaDataTableScanner(instance, creds,
range, MetadataTable.NAME);
    return checkTablets(metaScanner, tservers);
{code}
Upon return, the MetaDataTableScanner is not closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message