2019-08-25 00:59:55,810 INFO [RpcServer.default.FPBQ.Fifo.handler=28,queue=1,port=16000] client.RpcRetryingCallerImpl: ,1 is not online on chun4,16020,1566665941494at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3328)at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:3305)at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1428)at org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2443)at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:41998)at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
, details=row 'hbase:namespace' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=chun4,16020,1566542754254, seqNum=-1, see https://s.apache.org/timeout
2019-08-25 00:59:55,872 INFO [RpcServer.default.FPBQ.Fifo.handler=22,queue=1,port=16000] client.RpcRetryingCallerImpl: ,1 is not online on chun4,16020,1566665941494at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:3328)at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:3305)at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1428)at org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:2443)at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:41998)at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
, details=row 'hbase:namespace' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=chun4,16020,1566542754254, seqNum=-1, see https://s.apache.org
尝试了网上的同步时间,重启,删除zookeeper生成的文件(未果)
(第一题)暂时未解决
(第二天继续)
昨天虚拟机全部关闭,重新启动继续尝试输入list出现如下错误!
ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yetat org.apache.hadoop.hbase.master.HMaster.checkServiceStarted(HMaster.java:2373)at org.apache.hadoop.hbase.master.MasterRpcServices.isMasterRunning(MasterRpcServices.java:932)at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:55655)at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2186)at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112)at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:134)at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)at java.lang.Thread.run(Thread.java:749)
网上查找资料说:把hadoop安全模式强制解除:
查看hadoop是否处在安全模式
hdfs dfsadmin -safemode get
答案并不是
下面的是解除安全模式,如果还是不行,继续往下看
hdfs dfsadmin -safemode leave
然后想到重新进行格式化hadoop,把所有格式化产生的文件删除!(成功)
1。进入haddop下,找到dfs,把data和name里面的文件删除(name和data不删)
各个节点都要删除!
2.还是hadoop下的tmp里的文件删除(各个节点都删除)
3.删除zookeeper下data除了myid的所有文件(各个节点都删除)
4.删除zookeeper下的hbase数据
命令行输入
zkCli.sh
会进入zookeeper然后
ls /
查看有没有hbase数据,如果有,输出
rmr /hbase