IOException:Timedout 300000ms waiting for namespace table to be assigned
删除hdfs 的hbase3目录和zk的hbase节点:重启hbase服务
IOException:Timedout 300000ms waiting for namespace table to be assigned
原因:长时间无法分配namespace表报错
如图查看已经分配的表:只有meta
观察meta表:发现只有一条数据
解决:
如果hbase能启动第一步方案:
执行:hbase hbck -repair
中间出现打印信息
WARN [main] util.HBaseFsck: Could not processregionserver localhost:16020
java.net.ConnectException:Connection refused
ERROR:There is a hole in the region chain between and . You need to create a new.regioninfo and region dir in hdfs to plug the hole.
ERROR:Found inconsistency in table hbase:quota
完成结果如下:
2.出现以下问题:因为之前进行过quota调试留下的表
创建新表t_1发现日志如下:
master.AssignmentManager:Server localhost,16020,1512562711868 returned java.net.ConnectException:Connection refused for t1,,1512565241301.a3a844d2e929a80126dc1e3291716372.
总上发现:应该除了hdfs目录和zk节点外还有其他数据记录hbase的历史;所以如果要重新格式化hbase必须找到那个数据删掉!!
3.执行hbase clean--cleanAll出现以下提示:
ZNode(s) [localhost,16020,1512562711868,server01,16020,1512562711003, server02,16020,1512562712084] of regionserversare not expired. Exiting without cleaning hbase data.
解决:关闭hbase服务即可如下:
以上问题没有解决
12-16日重启虚拟机重启服务:发现不再报错
但是少了第三台rs 经查看rs3日志:
解决:
百度到:http://blog.****.net/wuwenxiang91322/article/details/45843307
查看/etc/hosts文件发现自己的hosts文件:
多了一行172.31.83.6 localhost
删掉重启该rs3即可.