zhangshilong created HADOOP-15130:
-------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]