hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangshilong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15130) SocketIOWithTimeout async close idle selector
Date Tue, 19 Dec 2017 06:39:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

zhangshilong updated HADOOP-15130:
----------------------------------
    Status: Open  (was: Patch Available)

> SocketIOWithTimeout async close idle selector
> ---------------------------------------------
>
>                 Key: HADOOP-15130
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15130
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>            Reporter: zhangshilong
>            Priority: Minor
>         Attachments: HADOOP-15130.patch
>
>
>  I start 1000 thread for NM and 1000 thread for AM in fairscheduler pressure test, using
Scheduler Load Simulator(SLS) tool.
> In jstack log,  I found SocketIOWithTimeout  remove  idle selectors in every select Operation.
> That will block 1000+ threads when doing iterator .
> {code:java}
>         for(Iterator<SelectorInfo> it = pList.queue.iterator(); it.hasNext();)
{
>           SelectorInfo info = it.next();
>           if (info.lastActivityTime > cutoff) {
>             break;
>           }
>           it.remove();
>           info.close();
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message