当前位置:网站首页>jps没有namenode和datanode原因
jps没有namenode和datanode原因
2022-07-22 10:15:00 【塞班呢】
重点:所有的原因都可以在hadoop下的logs目录下namenode的日志文件中找到问题所在,运行中的问题都会保存到这些文件中
这里总结几个主要问题
原因1
配置文件有问题
检查所有的hadoop配置文件,看是不是有遗漏或者不对的地方
原因2(很可能是这个问题)
节点在本机的路径有问题:日志文件中提示无法访问到你的namenode的路径
你如果使用的普通用户,你节点在本地的存放位置普通用户要得有权限,不然初始化的数据都不能够存放到指定位置
原因3
你之前多次格式化主节点,却没有删除,多次格式化namenode造成了namenode和datanode的clusterID不一致,它都不知道加载哪个了。
解决方法
删掉hadoop/logs日志文件中的所有日志文件,还有你namenode和datanode存放路径的所有文件信息,重新格式化
边栏推荐
- LogBack & MDC & a simple use
- linux开启MySQL binlog日志
- Dnsmasq installation and configuration
- Domestic stereo audio frequency d/a converter dp4344 replaces compatible cs4344
- 基础类型
- Atr5179 single pole double throw switch chip replaces as179-92lf
- Conception du modèle de données de la base de données newsql
- Structure, enumeration, joint blog tutorial
- MySQL之插入、修改、删除表数据
- JVM jhat (virtual machine heap dump snapshot analysis tool)
猜你喜欢
warning: [mariadbmon] The current master server ‘srv-cls01-02‘ is no longer valid because it is in r
oracle怎样转义单引号
Constructors and destructors of derived classes
multiple inheritance
Install MariaDB 10.5.7 (tar package installation)
数据架构与数据库建模
maxscale的causal_reads参数
Vs Code common shortcut keys
pyinstaller打包scrapy
ZABBIX realizes nail monitoring alarm
随机推荐
Tensor和NumPy相互转换「建议收藏」
Spark加载CSV和JSON文件(附在虚拟机中执行jar包)
warning: [mariadbmon] The current master server ‘srv-cls01-02‘ is no longer valid because it is in r
jvm-jmap(内存映像工具)的使用
mariadb审计插件
No code coverage driver is available
Firewall CMD common operation commands
基础类型
spark Json日志分析
The luckiest geek in China: in his early twenties, he was worth more than 100 million, and retired after three startups
oracle怎样将字符串转为多行
撞库、脱库和洗库
Datablau5.0 data asset management product series heavy release
Foundation type
Understanding and analysis of modules and components, modularity and componentization
LogBack & MDC & a simple use
Several common ways for C DataGridView to bind data sources
Atr5179 single pole double throw switch chip replaces as179-92lf
HTB- Armageddon
shell统计某个字符串最后一次出现的位置之前的所有字符串