You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2014/09/22 17:50:34 UTC
[jira] [Updated] (ACCUMULO-3157) MetaDataTableScanner is unclosed
upon return from FindOfflineTablets#findOffline()
[ https://issues.apache.org/jira/browse/ACCUMULO-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton updated ACCUMULO-3157:
----------------------------------
Component/s: client
Priority: Trivial (was: Minor)
Affects Version/s: 1.6.1
1.5.0
1.5.1
1.5.2
1.6.0
Fix Version/s: 1.7.0
1.6.2
1.5.3
Assignee: Eric Newton
> 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
> Components: client
> Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1
> Reporter: Ted Yu
> Assignee: Eric Newton
> Priority: Trivial
> Fix For: 1.5.3, 1.6.2, 1.7.0
>
>
> {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)