欢迎投稿

今日深度:

Hbase 学习(六) 配置文件调优,

Hbase 学习(六) 配置文件调优,


这部分的内容,网上多了去了,都大同小异的,仅作为备忘录,省得需要的时候又要到处查。 1.zookeeper.session.timeout 默认3分钟,zookeeper和hbase通信的超时时间,设置为1分钟或者更少。 2.hbase.regionserver.handler.count 默认为10,很明显不够,在读多,写少的情况下设置为用户的最大数比较安全,但是在写操作比较多的情况下,可能会发生OutOfMemoryError的错误。 3.perf.hfile.block.cache.size 默认是0.2,内存大的可以建议增加。 4.hbase.hregion.memstore.block.multiplier 默认是2,建议增加,is a safety latch that blocks any further updates from clients when the memstores exceed the multiplier* flush size limit.。 5.hbase.regionserver.maxlogs 默认是32,建议减少,这样就会强制region server提高把数据写入硬盘的频率,随后日志就会被删除了。 6.hbase.regionserver.global.memstore.upperLimit /hbase.regionserver.global.memstore.lowerLimit 这两个参数的默认值分别是0.4/0.35,它们是和hbase.hstore.blockingStoreFiles(默认7)相关联的,怎么调整需要看具体情况,书上没说,这点比较恶心。

www.htsjk.Com true http://www.htsjk.com/hbase/42575.html NewsArticle Hbase 学习(六) 配置文件调优, 这部分的内容,网上多了去了,都大同小异的,仅作为备忘录,省得需要的时候又要到处查。 1.zookeeper.session.timeout 默认3分钟,zookeeper和hbase通信的超时...
评论暂时关闭