Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
hbase master
-
Reviewed
Description
Reproduction:
Starting hbase cluster
Executing command 'hbase hbck'
TableNotFoundException occur aboubt 'hbase:replication'
//代码占位符
org.apache.hadoop.hbase.replication.ReplicationException: failed to listAllQueues
at org.apache.hadoop.hbase.replication.TableReplicationQueueStorage.listAllQueues(TableReplicationQueueStorage.java:289)
at org.apache.hadoop.hbase.util.hbck.ReplicationChecker.getUnDeletedQueues(ReplicationChecker.java:77)
at org.apache.hadoop.hbase.util.hbck.ReplicationChecker.checkUnDeletedQueues(ReplicationChecker.java:105)
at org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixReplication(HBaseFsck.java:2575)
at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:803)
at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:3752)
at org.apache.hadoop.hbase.util.HBaseFsck$HBaseFsckTool.run(HBaseFsck.java:3551)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:82)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:97)
at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3536)
Caused by: org.apache.hadoop.hbase.TableNotFoundException: hbase:replication
Problem analysis:
hbase does not create the table 'hbase:replication' until the first add_peer operation would be executed.
However, 'hbase hbck' operation would check the 'hbase:replication', So if this table has not been created, we would get TableNotFoundException.
Attachments
Issue Links
- links to