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 "Denny Ye (Updated) (JIRA)" <ji...@apache.org> on 2012/03/09 02:53:57 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 ]

Denny Ye updated HADOOP-7689:
-----------------------------

    Status: Patch Available  (was: Open)
    
> 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
>    Affects Versions: 0.21.0
>         Environment: local
>            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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira