You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zach York (JIRA)" <ji...@apache.org> on 2018/03/06 19:33:00 UTC
[jira] [Updated] (HBASE-20141) Fix TooManyFiles exception when
RefreshingChannels in FileIOEngine
[ https://issues.apache.org/jira/browse/HBASE-20141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zach York updated HBASE-20141:
------------------------------
Attachment: HBASE-20141.master.001.patch
> Fix TooManyFiles exception when RefreshingChannels in FileIOEngine
> ------------------------------------------------------------------
>
> Key: HBASE-20141
> URL: https://issues.apache.org/jira/browse/HBASE-20141
> Project: HBase
> Issue Type: Bug
> Components: BucketCache
> Affects Versions: 1.4.0, 2.0.0-beta-1, 1.4.2
> Reporter: Zach York
> Assignee: Zach York
> Priority: Major
> Attachments: HBASE-20141.master.001.patch
>
>
> HBASE-19435 implements a fix for reopening file channels when they are unnexpected closed
> to avoid disabling the BucketCache. However, it was missed that the the channels might not
> actually be completely closed (the write or read channel might still be open
> (see https://docs.oracle.com/javase/7/docs/api/java/nio/channels/ClosedChannelException.html)
> This commit closes any open channels before creating a new channel.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)