首页 > 其他分享> > FATAL [hadoop102:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown.
FATAL [hadoop102:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown.
作者:互联网
FATAL [hadoop102:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.hbase.util.FileSystemVersionException: HBase file layout needs to be upgraded. You have version null and I want version 8. Consult http://hbase.apache.org/book.html for further information about upgrading HBase. Is your hbase.rootdir valid? If so, you may need to run 'hbase hbck -fixVersionFile'.
at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:678)
at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:466)
at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:152)
at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:127)
at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:714)
at org.apache.hadoop.hbase.master.HMaster.access$600(HMaster.java:198)
at org.apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:1868)
at java.lang.Thread.run(Thread.java:748)
报错原因
hbase的配置文件有损坏
解决方案
hadoop fs -rm -r /hbase
标签:exception,java,HMaster,hadoop,apache,org,hbase,hadoop102 来源: https://blog.csdn.net/qq_46548855/article/details/113746491