DarkPhoenixs / hbase-meta-repair

Repair hbase metadata table from hdfs.
Apache License 2.0
39 stars 31 forks source link

运行成功,但是表并没有显示 #2

Open wcb67 opened 4 years ago

wcb67 commented 4 years ago

[root@master hbase]# java -jar -Drepair.tableName=AeolianVibration hbase-meta-repair-2.1.0.jar

. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.2.0.RELEASE)

2020-06-09 10:01:55.945 WARN 33620 --- [ main] o.d.hbase.repair.HbaseRepairRunner : {} log4j:WARN No appenders could be found for logger (org.apache.htrace.core.Tracer). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 2020-06-09 10:01:56.633 WARN 33620 --- [ main] org.apache.hadoop.util.NativeCodeLoader : Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2020-06-09 10:01:56.923 WARN 33620 --- [ main] o.d.hbase.repair.HbaseRepairRunner : ["mcsas:AeolianVibration,,1545216887381.0e78c4d15e90ec3311d1d552c44d4ad0."] 2020-06-09 10:01:56.923 WARN 33620 --- [ main] o.d.hbase.repair.HbaseRepairRunner : Delete hbase Metadata:{} 2020-06-09 10:01:57.062 WARN 33620 --- [ main] o.d.hbase.repair.HbaseRepairRunner : [{"hostAndPort":"master:16020","hostname":"master","hostnameLowerCase":"master","port":16020,"serverName":"master,16020,1591696360245","startcode":1591696360245,"versionedBytes":"AABtYXN0ZXIsMTYwMjAsMTU5MTY5NjM2MDI0NQ=="},{"hostAndPort":"node1:16020","hostname":"node1","hostnameLowerCase":"node1","port":16020,"serverName":"node1,16020,1591696360038","startcode":1591696360038,"versionedBytes":"AABub2RlMSwxNjAyMCwxNTkxNjk2MzYwMDM4"},{"hostAndPort":"node2:16020","hostname":"node2","hostnameLowerCase":"node2","port":16020,"serverName":"node2,16020,1591696359968","startcode":1591696359968,"versionedBytes":"AABub2RlMiwxNjAyMCwxNTkxNjk2MzU5OTY4"}]

VictorZeng commented 4 years ago

"表并没有显示" 是何意

wcb67 commented 4 years ago

就是并没有查到有这个表

wcb67 commented 4 years ago

我是从别的集群 通过hadoop fs -copyToLocal /hbase/table1 /data0/hbase-backup/table1 将表拷贝到磁盘中 然后将这个表再导入到另一个的hbase集群 通过这个工具 恢复表的元数据 但是并没有查到这张表

wcb67 commented 4 years ago

zookeeper.address=192.168.11.200:2181,192.168.11.201:2181,192.168.11.202:2181 zookeeper.nodeParent=/hbase hdfs.root.dir=hdfs://192.168.11.200:8020/hbase 这个我配置的 不知是否正确

VictorZeng commented 4 years ago

core-site.xml 和 hdfs-site.xml 配置正确吗

VictorZeng commented 4 years ago

你的表名应该是带scheme吧 -Drepair.tableName=[scheme]:[table]

wcb67 commented 4 years ago

core-site.xml 和 hdfs-site.xml 是直接copy我集群中的 是没有错误的 加入scheme之后报错了 还没有解决大佬

pengzzhh commented 3 years ago

core-site.xml 和 hdfs-site.xml 是直接复制我里面的那个是没有错误的加入方案之后报错了还有没有解决大佬

您好,您的问题解决了么,我遇到了跟您一样的问题

wcb67 commented 3 years ago

在 2021-06-22 10:23:56,"pengzzhh" @.***> 写道:

core-site.xml 和 hdfs-site.xml 是直接复制我里面的那个是没有错误的加入方案之后报错了还有没有解决大佬

您好,您的问题解决了么,我遇到了跟您一样的问题

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.