参考 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>
本文详细介绍了如何通过代码方式和修改配置文件来调整HBase RegionServer的租约期,以优化HBase集群性能。
1万+

被折叠的 条评论
为什么被折叠?



