老师,你能再说说hbase.hstore.blockingStoreFiles这个属性嘛意思么?

来源:4-1 HBase优化策略一:服务端优化策略

博博11

2018-06-05

老师,你能再说说hbase.hstore.blockingStoreFiles这个属性嘛意思么?真的没听懂

写回答

1回答

叁金

2018-06-05

hbase.hstore.blockingStoreFiles:默认为7,如果任何一个store(非.META.表里的store)的storefile的文件数大于该值,则在flush memstore前先进行split或者compact,同时把该region添加到flushQueue,延时刷新,这期间会阻塞写操作直到compact完成或者超过hbase.hstore.blockingWaitTime(默认90s)配置的时间,可以设置为30,避免memstore不及时flush。当regionserver运行日志中出现大量的“Region <regionName> has too many store files; delaying flush up to 90000ms"时,说明这个值需要调整了


0
0

HBase+Spring Boot实战分布式文件存储(OpenTSDB实战升级)

深入浅出讲解HBase,让你轻松处理海量数据

493 学习 · 167 问题

查看课程