07 2014 档案
Netty 中 IOException: Connection reset by peer 与 java.nio.channels.ClosedChannelException: null
摘要:最近发现系统中出现了很多 IOException: Connection reset by peer 与 ClosedChannelException: null深入看了看代码, 做了些测试, 发现 Connection reset 会在客户端不知道 channel 被关闭的情况下, 触发了 eve...
阅读全文
Hadoop + ZK + HBase 环境搭建
摘要:Hadoop 环境搭建参考资料:http://hadoop.apache.org/docs/r2.4.1/hadoop-project-dist/hadoop-common/ClusterSetup.htmlhttp://hadoop.apache.org/docs/r2.4.1/hadoop-ya...
阅读全文
ArrayBlockingQueue, LinkedBlockingQueue, ConcurrentLinkedQueue, RingBuffer
摘要:1. ArrayBlockingQueue, LinkedBlockingQueue, ConcurrentLinkedQueueArrayBlockingQueue, LinkedBlockingQueue 继承自 BlockingQueue, 他们的特点就是 Blocking, Blocking...
阅读全文