NIO异常新动向

该日志是最新的动向,就是创建了一个新连接,发送一个请求后,立马收到-1,服务器端主动关闭连接。(该日志信息有些内容是我自己加入的。)

 

2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Iteratorsun.nio.ch.SelectionKeyImpl@1847f9b2
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Key is readable---------------192.168.2.20:48087
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:   -------start read loop----------
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: get dataLengthBuffer=4
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set rpcHeaderRead=false
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set rpcHeaderRead!-------
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set rpcHeaderRead!------- rpcHeaderBuffer=2
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:   -------start read loop----------
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: get dataLengthBuffer=0
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: 1count=0
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: IPC Server listener on 8020 readSelector=1
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Iterator
sun.nio.ch.SelectionKeyImpl@1847f9b2
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Key is readable---------------192.168.2.20:48087
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:   -------start read loop----------
2012-07-09 15:00:38,723 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: get dataLengthBuffer=4
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set rpcHeaderRead=true
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: create data bytes=57
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set channelRead!------- =57
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set channelRead  data!------- =0
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: start process request informat bytes size=57
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Successfully authorized org.apache.hadoop.hdfs.protocol.ClientProtocol-hadoop
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:   -------start read loop----------
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: get dataLengthBuffer=4
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set rpcHeaderRead=true
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: create data bytes=211
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set channelRead!------- =211
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: set channelRead  data!------- =0
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: start process request informat bytes size=211
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:  got #6362
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: return count=211
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: IPC Server listener on 8020 readSelector=1
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Iterator
sun.nio.ch.SelectionKeyImpl@1847f9b2
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: Key is readable---------------192.168.2.20:48087
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server:   -------start read loop----------
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: get dataLengthBuffer=-1
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: 1count=-1
2012-07-09 15:00:38,724 [pool-1-thread-23] DEBUG org.apache.hadoop.ipc.Server: IPC Server listener on 8020: disconnecting client 192.168.2.20:48087. Number of active conne       ctions: 44 wait for 2 second

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值