修改了hbase的配置文件参数 :
hbase.hstore.blockingStoreFiles 之前设置为20W+,出现问题:
hbase.hstore.blockingStoreFiles 这个参数跟文件合并有关系,如果设置太大的话,目前集群出现的问题就是批量查询的时候,跑着跑着就出现查询一个要5-8s ,报错 :hbase ipc.RpcServer: (responseTooSlow) 等等,应该是查询不到,可能是小文件太多,没有合并导致的,运行时间越长,出现的几率越多,再次将hbase.hstore.blockingStoreFiles设置为200
<!--无阻塞-->
<property>
<name>hbase.hregion.majorcompaction</name>
<value>0</value>
</property>
<property>
<name>hbase.hregion.max.filesize</name>
<value>536870912000</value>
</property>
<property>
<name>hbase.hstore.blockingStoreFiles</name>
<value>200</value>
</property>
hbase参数大全,详细看:
https://www.cnblogs.com/nexiyi/p/hbase_config_94.html