[
https://issues.apache.org/jira/browse/FLUME-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johny Rufus updated FLUME-2738:
-------------------------------
Attachment: FLUME-2738-1.patch
Attaching a patch that tests the FD leak. Consistently been able to reproduce
the FD leak w/o the patch and with the patch the leaks do not happen.
releaseExternalResources shuts down the executors which seems to impact the
release of the sockets.
http://netty.io/3.6/api/org/jboss/netty/channel/socket/nio/NioClientSocketChannelFactory.html
mentions that
"All the related resources such as Selector are also released when the boss and
worker threads are released. "
> Async HBase sink FD leak on client shutdown
> -------------------------------------------
>
> Key: FLUME-2738
> URL: https://issues.apache.org/jira/browse/FLUME-2738
> Project: Flume
> Issue Type: Bug
> Reporter: Johny Rufus
> Assignee: Johny Rufus
> Attachments: FLUME-2738-1.patch, FLUME-2738.patch
>
>
> Currently every time Async Hbase Sink calls HBaseSink.shutdown, there is FD
> leak due to HBaseSink using CustomChannelFactory where
> releaseExternalResources() is overridden to a No-op. Need to replace this
> with a standard NioClientSocketChannelFactory, that releases external
> resources properly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)