hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denny Ye (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7689) Process cannot exit when there is many RPC readers more that actual client
Date Wed, 28 Sep 2011 09:30:45 GMT
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


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

        

Mime
View raw message