hbase集群启动出现regionserver挂掉或未启动的原因总结

1.regionserver挂掉
我遇到的是 Master rejected startup because clock is out of syn 这样的错误
原因是每个节点的系统时间不一致导致的,所以使用date -s 命令修改系统时间来解决
2.regionserver未启动
因为我的hadoop使用了HA机制,所以我遇了集群未找到的错误,解决方法是将hadoop的两个配置文件复制到 hbase/conf/ 下( hdfs-site.xml core-site.xm l)
也可以使用linux中的软连接:
ln -s /hadoop配置文件路径/core-site.xml core-site.xml
ln -s /hadoop配置文件路径/hdfs-site.xml hdfs-site.xml

regionserver出现错误的情况有很多,要学会查看日志,我这里只总结了我暂时遇到的情况,以后会有补充。。。

如有错误,希望大家指出,万分感谢!

猜你喜欢

转载自blog.csdn.net/a602519773/article/details/80367711