You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2024/03/11 19:10:00 UTC

[jira] [Commented] (HBASE-28395) TableNotFoundException when executing 'hbase hbck'

    [ https://issues.apache.org/jira/browse/HBASE-28395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825420#comment-17825420 ] 

Hudson commented on HBASE-28395:
--------------------------------

Results for branch branch-3
	[build #165 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/165/]: (x) *{color:red}-1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/165/General_20Nightly_20Build_20Report/]




(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/165/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-3/165/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> 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)