HBase Trouble shooting

最近HBase经常自动退出,查看日志发现以下错误:

2011-03-18 06:59:19,523 INFO org.apache.zookeeper.ClientCnxn: Attempting connection to server ***/****:2222

2011-03-18 06:59:26,191 WARN org.apache.zookeeper.ClientCnxn: Exception closing session 0x42ebc46a11b0000 to sun.nio.ch.SelectionKeyImpl@7de8b042

java.io.IOException: TIMED OUT

 

到网上搜索发现了HBase官方的Trouble shooting网页 http://wiki.apache.org/hadoop/Hbase/Troubleshooting

在Hbase的配置文件中添加

 写道
<property>
<name>zookeeper.session.timeout</name>
<value>1200000</value>
</property>
<property>
<name>hbase.zookeeper.property.tickTime</name>
<value>6000</value>
</property>
 重启Region Server,问题解决!

你可能感兴趣的:(apache,hadoop,hbase,sun)