hbase(main):004:0> scan ‘test‘ ,{LIMIT=>10} ROW COLUMN+CELL ERROR: org.apache.hadoop.hbase.NotServingRegionException: Region test,,1479311170393.0d8c4702c0de52f88306d92871584a23. is not online on master,16201,1480507150043 at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2910) at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(RSRpcServices.java:1057) at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2388) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:33648) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2178) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133) at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) at java.lang.Thread.run(Thread.java:745)
Hbase 执行 disable 后,没成功然后强制停止后,在启动后可能会出现上面的错误。停止hbase,zookeeper ,将zookeeper下的数据删除 在启动他们就好了
可能是执行disable时,修改了zookeeper结构,有强制停止了程序,导致数据损坏,hbase找不到region的文件
时间: 2024-10-04 17:41:07