第一类:后台任务线程
- org.apache.hadoop.hdfs.server.namenode.PendingReplicationBlocks$PendingReplicationMonitor
- org.apache.hadoop.hdfs.server.namenode.FSNamesystem$HeartbeatMonitor
- org.apache.hadoop.hdfs.server.namenode.LeaseManager$Monitor
- org.apache.hadoop.hdfs.server.namenode.FSNamesystem$ReplicationMonitor
- org.apache.hadoop.hdfs.server.namenode.DecommissionManager$Monitor
如果进入到safeMode模式
则还会有一个
- org.apache.hadoop.hdfs.server.namenode.FSNamesystem$SafeModeMonitor
第二类:jetty web访问dfs的线程
- Acceptor0 SelectChannelConnector@0.0.0.0:50070 //dfs.http.address=0.0.0.0:50070
- org.mortbay.thread.QueuedThreadPool$PoolThread
更多信息请查看 java进阶网 http://www.javady.com
第三类:RPC 监听处理的线程
- IPC Server Responder
- IPC Server listener on 54310 //fs. default . name =hdfs://10.0.18.105:54310
- IPC Server handler 0 on 54310 //dfs.namenode.handler. count =10
- IPC Server handler 1 on 54310
- IPC Server handler 2 on 54310
- IPC Server handler 3 on 54310
- IPC Server handler 4 on 54310
- IPC Server handler 5 on 54310
- IPC Server handler 6 on 54310
- IPC Server handler 7 on 54310
- IPC Server handler 8 on 54310
- IPC Server handler 9 on 54310