hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12614) Potentially unclosed StoreFile(s) in DefaultCompactor#compact()
Date Tue, 02 Dec 2014 19:56:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232053#comment-14232053
] 

Lars Hofhansl commented on HBASE-12614:
---------------------------------------

+1

> Potentially unclosed StoreFile(s) in DefaultCompactor#compact()
> ---------------------------------------------------------------
>
>                 Key: HBASE-12614
>                 URL: https://issues.apache.org/jira/browse/HBASE-12614
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 12614-v1.txt
>
>
> Here is the related code (around line 129):
> {code}
>         for (StoreFile f : readersToClose) {
>           f.closeReader(true);
>         }
> {code}
> If any closeReader() call throws IOException, the remaining StoreFile(s) would not be
closed.



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

Mime
View raw message