accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2371) cachedDataIndex.close() should be enclosed in finally block in BCFile#Reader()
Date Thu, 20 Feb 2014 14:45:20 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Newton updated ACCUMULO-2371:
----------------------------------

    Affects Version/s: 1.4.0
                       1.4.2
                       1.4.3
                       1.4.4
                       1.5.0

> cachedDataIndex.close() should be enclosed in finally block in BCFile#Reader()
> ------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2371
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2371
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.0, 1.4.2, 1.4.3, 1.4.4, 1.5.0
>            Reporter: Ted Yu
>            Assignee: Eric Newton
>            Priority: Minor
>
> Here is related code:
> {code}
>         try {
>           dataIndex = new DataIndex(cachedDataIndex);
>         } catch (IOException e) {
>           LOG.error("Got IOException when trying to create DataIndex block");
>           throw e;
>         }
>         cachedDataIndex.close();
> {code}
> If there is IOE, cachedDataIndex.close() would be skipped.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message