在windows 2016 server上启动hbase 1.4x时遇到问题。我试图启动它在独立模式,但它给出了以下例外。
我认为这可能是一个版本兼容性问题,并检查了hbase 1.6x,但得到了相同的例外。
2020-11-24 14:51:25,025 INFO [RS:0] client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
2020-11-24 14:51:25,026 INFO [M:0] client.ZooKeeperRegistry: ClusterId read in ZooKeeper is null
2020-11-24 14:51:34,001 INFO [SessionTracker] server.ZooKeeperServer: Expiring session 0x175fbba87510001, timeout of 10000ms exceeded
2020-11-24 14:51:34,001 INFO [SessionTracker] server.ZooKeeperServer: Expiring session 0x175fbba87510003, timeout of 10000ms exceeded
2020-11-24 14:51:34,002 INFO [ProcessThread(sid:0 cport:2181):] server.PrepRequestProcessor: Processed session termination for sessionid: 0x175fbba87510001
2020-11-24 14:51:34,002 INFO [ProcessThread(sid:0 cport:2181):] server.PrepRequestProcessor: Processed session termination for sessionid: 0x175fbba87510003
2020-11-24 14:51:58,613 FATAL [activeMasterManager] master.HMaster: Failed to become active master
ExitCodeException exitCode=-1073741515:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:585)
at org.apache.hadoop.util.Shell.run(Shell.java:482)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:776)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:869)
at org.apache.hadoop.util.Shell.execCommand(Shell.java:852)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:733)
at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:225)
at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209)
at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:307)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:296)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:328)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:465)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:440)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:911)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:892)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:789)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:778)
at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:760)
at org.apache.hadoop.hbase.util.FSUtils.setVersion(FSUtils.java:738)
at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:695)
at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:509)
at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:166)
at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:141)
at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:745)
at org.apache.hadoop.hbase.master.HMaster.access$600(HMaster.java:208)
at org.apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:2048)
at java.lang.Thread.run(Thread.java:748)
我的hbase-site.xml如下所示。
<configuration>
<property>
<name>hbase.rootdir</name>
<value>file:///D:/Softwares/app/hbase/data/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>false</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>D:/Softwares/app/hbase/data/zookeeper</value>
</property>
<property>
<name> hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
</configuration>
我认为我正在使用的hadoopwinutils(hadoop2.7.1)可能会导致这个问题,但我不太确定。有谁能告诉我可能发生了什么以及如何解决这个问题。
暂无答案!
目前还没有任何答案,快来回答吧!