关于启动Hbase报错Caused by: java.net.ConnectException: 拒
家电修理 2023-07-16 19:17www.caominkang.com电器维修
2019-07-04 14:29:34,210 FATAL [centos103:16000.activeMasterManager] master.HMaster: Unhandled exception. Starting shutdon. java..ConnectException: Call From centos103/192.168.130.131 to centos103:8020 failed on connection exception: java..ConnectException: 拒绝连接; For more details see: http://iki.apache./hadoop/ConnectionRefused at sun.reflect.NativeConstructorAessorImpl.neInstance0(Native Method) at sun.reflect.NativeConstructorAessorImpl.neInstance(NativeConstructorAessorImpl.java:62) at sun.reflect.DelegatingConstructorAessorImpl.neInstance(DelegatingConstructorAessorImpl.java:45) at java.lang.reflect.Constructor.neInstance(Constructor.java:423) at .apache.hadoop..NetUtils.rapWithMessage(NetUtils.java:792) at .apache.hadoop..NetUtils.rapException(NetUtils.java:732) at .apache.hadoop.ipc.Client.call(Client.java:1479) at .apache.hadoop.ipc.Client.call(Client.java:1412) at .apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229) at .sun.proxy.$Proxy16.setSafeMode(Unknon Source) at .apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(ClientNamenodeProtocolTranslatorPB.java:666) at sun.reflect.NativeMethodAessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAessorImpl.invoke(NativeMethodAessorImpl.java:62) at sun.reflect.DelegatingMethodAessorImpl.invoke(DelegatingMethodAessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at .apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:191) at .apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) at .sun.proxy.$Proxy17.setSafeMode(Unknon Source) at sun.reflect.NativeMethodAessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAessorImpl.invoke(NativeMethodAessorImpl.java:62) at sun.reflect.DelegatingMethodAessorImpl.invoke(DelegatingMethodAessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at .apache.hadoop.hbase.fs.HFileSystem$1.invoke(HFileSystem.java:302) at .sun.proxy.$Proxy18.setSafeMode(Unknon Source) at .apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2596) at .apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1223) at .apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:1207) at .apache.hadoop.hbase.util.FSUtils.isInSafeMode(FSUtils.java:525) at .apache.hadoop.hbase.util.FSUtils.aitOnSafeMode(FSUtils.java:971) at .apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:428) at .apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:152) at .apache.hadoop.hbase.master.MasterFileSystem.(MasterFileSystem.java:127) at .apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:714) at .apache.hadoop.hbase.master.HMaster.aess$600(HMaster.java:198) at .apache.hadoop.hbase.master.HMaster$2.run(HMaster.java:1868) at java.lang.Thread.run(Thread.java:748) Caused by: java..ConnectException: 拒绝连接 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at .apache.hadoop..SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) at .apache.hadoop..NetUtils.connect(NetUtils.java:531) at .apache.hadoop..NetUtils.connect(NetUtils.java:495) at .apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:614) at .apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:712) at .apache.hadoop.ipc.Client$Connection.aess$2900(Client.java:375) at .apache.hadoop.ipc.Client.getConnection(Client.java:1528) at .apache.hadoop.ipc.Client.call(Client.java:1451) ... 29 more
查看Hadoop的配置文件core-site.xml,端口为9000
fs.defaultFS hdfs://Hadoop01:9000
再查看hbase-site.xml,端口为8020
hbase.rootdir hdfs://hadoop01:8020/hbase xxxx
只需把8020改成9000就ok,然后把hbase-site.xml分发到其他节点,HMaster启动成功
上一篇:怎么关闭安全警告?
下一篇:win10版本号怎么查看?win10查看版本号的办法?
空调维修
- 温岭冰箱全国统一服务热线-全国统一人工【7X2
- 荆州速热热水器维修(荆州热水器维修)
- 昆山热水器故障码5ER-昆山热水器故障码26
- 温岭洗衣机24小时服务电话—(7X24小时)登记报
- 统帅热水器售后维修服务电话—— (7X24小时)登
- 阳江中央空调统一电话热线-阳江空调官方售后电
- 乌鲁木齐阳春燃气灶厂家服务热线
- 珠海许昌集成灶售后服务电话-全国统一人工【
- 乌鲁木齐中央空调维修服务专线-乌鲁木齐中央空
- 新沂热水器故障电话码维修-新沂热水器常见故障
- 诸城壁挂炉24小时服务热线电话
- 靖江空调24小时服务电话-——售后维修中心电话
- 空调室外滴水管维修(空调室外排水管维修)
- 九江壁挂炉400全国服务电话-(7X24小时)登记报修
- 热水器故障码f.22怎么解决-热水器f0故障解决方法
- 营口热水器售后维修服务电话—— 全国统一人工