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] [Created] (HADOOP-15130) SocketIOWithTimeout async close idle selector
Date Tue, 19 Dec 2017 06:33:00 GMT
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 .
        for(Iterator<SelectorInfo> it = pList.queue.iterator(); it.hasNext();) {
          SelectorInfo info = it.next();
          if (info.lastActivityTime > cutoff) {

This message was sent by Atlassian JIRA

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

View raw message