参考 http://snv.iteye.com/blog/1682428
两个问题解决方法:
1.在代码中添加
Configuration conf = HBaseConfiguration.create()
conf.setLong(HConstants.HBASE_REGIONSERVER_LEASE_PERIOD_KEY, 120000)
2.在$HBASE_HOME/conf/hbase-site.xml中添加
<property> <name>hbase.regionserver.lease.period</name> <value>180000</value> </property>