admin管理员组

文章数量:1530026

在用网页查看hbase时出现:The Load Balancer is not enabled which will eventually cause performance degradation in HBase as Regions will not be distributed across all RegionServers.


问题描述:

在用web查看hbase的时候报这个错误。

翻译一下:没有启用负载均衡器,这将最终导致HBASE中的性能下降,因为区域不会分布在所有RegionServers上。


解决方案:打开负载均衡器

1.首先我们要进入hbase的bin目录下,然后使用

./hbase shell 

进入shell:

2.然后输入

balance_switch true

开启负载均衡器即可!

补充:balance的操作命令:

balancer_enabled:查看自动均衡是否开启

balance_switch true:开启

balance_switch false:关闭

本文标签: 报错BalancerloadenabledHbase