首页 > 编程语言 >已解决 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Abort

已解决 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Abort

时间:2022-09-24 00:13:11浏览次数:69  
标签:lang xml site hadoop master ERROR hbase

问题:

进入  hbase 命令行提示:

ERROR: KeeperErrorCode = NoNode for /hbase/master

hbase 下的 logs 文件记录

ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: HMaster Aborted

 

问题原因:

通过苦苦的搜索,查看日志,发现 hadoop 的 core-site.xml 和 hbase的hbase-site.xml 中的hdfs的路径不匹配

这是一个容易忽视的问题,希望大家以后在配置的时候能够多注意

 

解决:

1.进入hadoop的core-site.xml

$ cd /opt/module/hadoop-3.2.2/etc/hadoop/
$ vim core-site.xml

通过以上两个命令进入 hadoop的core-site.xml

修改以下内容  8020

 

 

2.进入hbase 的 hbase-site.xml

$ cd /opt/module/hbase-1.7.1/conf
$ vim hbase-site.xml

 

修改以下内容  8020

 

 

3.重新启动 hbase 即可

 

 

最后,问题得到解决

 

总结:

出现问题可以尝试去看 logs 文件,会给你准确的错误提示 

 

标签:lang,xml,site,hadoop,master,ERROR,hbase
From: https://www.cnblogs.com/dzwj/p/16724722.html

相关文章