gpt4 book ai didi

java - ERROR [main] master.HMasterCommandLine : Master exiting java. lang.RuntimeException: Master 构建失败

转载 作者:可可西里 更新时间:2023-11-01 16:14:21 30 4
gpt4 key购买 nike

尝试使用 HADOOP 运行 HBASE 时出现以下错误HBASE 0.98.xHADOOP 2.4.0

    ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.had$
at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCl$
at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluste$
at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.j$
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMaste$
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommand$
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandL$
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2793)
Caused by: org.apache.hadoop.ipc.RemoteException: Server IPC version 9 cannot c$
at org.apache.hadoop.ipc.Client.call(Client.java:1113)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:245)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedF$
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:144$
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:67)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1464)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:263)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:124)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:247)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)
at org.apache.hadoop.hbase.util.FSUtils.getRootDir(FSUtils.java:895)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:458)
at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init$
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruc$
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delegating$
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMCl$
... 7 more

我是否必须在 hbase-site.xml 中设置配置属性。提前致谢

最佳答案

您下载的是哪个版本的 HBase?确保您获得与您拥有的相同 hadoop 版本(版本 2)的相应版本。根据您的情况,您应该下载$ wget http://apache.rediris.es/hbase/stable/hbase-0.98.8-hadoop2-bin.tar.gz代替$ wget http://apache.rediris.es/hbase/stable/hbase-0.98.8-hadoop1-bin.tar.gz

关于java - ERROR [main] master.HMasterCommandLine : Master exiting java. lang.RuntimeException: Master 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25087377/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com