You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "付盼 (JIRA)" <ji...@apache.org> on 2013/07/21 09:26:49 UTC
[jira] [Updated] (HADOOP-7689) Process cannot exit when there is
many RPC readers more that actual client
[ https://issues.apache.org/jira/browse/HADOOP-7689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
付盼 updated HADOOP-7689:
-----------------------
Affects Version/s: (was: 0.21.0)
> Process cannot exit when there is many RPC readers more that actual client
> --------------------------------------------------------------------------
>
> Key: HADOOP-7689
> URL: https://issues.apache.org/jira/browse/HADOOP-7689
> Project: Hadoop Common
> Issue Type: Bug
> Components: ipc
> Reporter: Denny Ye
> Labels: rpc
> Attachments: HADOOP-7689.patch
>
>
> I met a strange issue that process cannot exit when I run RPC test cases in my Eclipse.
> Conditions:
> 1. Only one Server and one client(local)
> 2. I have set many readers(conf.setInt("ipc.server.read.threadpool.size", 5)), it great than client number.
> After any test cases, the process cannot exit. I tested with several cases and found the root cause.
> RPC serves socket with reader(transferring binary to Call), and even shutdown the thread pool. But all the free readers are blocked at "readSelector.select()" (they are useless by Listener)
> Those threads and process cannot exit always.
> It can be fixed by invoking corresponding selector for each reader.The same thing was done at 0.20 version.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira