[ https://issues.apache.org/jira/browse/HBASE-28395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-28395. ------------------------------- Fix Version/s: 3.0.0-beta-2 Hadoop Flags: Reviewed Assignee: guluo Resolution: Fixed Pushed to master and branch-3. Thanks [~guluo] for contributing! > TableNotFoundException when executing 'hbase hbck' > -------------------------------------------------- > > Key: HBASE-28395 > URL: https://issues.apache.org/jira/browse/HBASE-28395 > Project: HBase > Issue Type: Bug > Components: hbck > Environment: hbase master > Reporter: guluo > Assignee: guluo > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0-beta-2 > > > *Reproduction:* > Starting hbase cluster > Executing command 'hbase hbck' > TableNotFoundException occur aboubt '{color:#FF0000}hbase:replication{color}' > {code:java} > //代码占位符 > 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 > {code} > *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. -- This message was sent by Atlassian Jira (v8.20.10#820010)