安装Hadoop时:0 datanode(s) running的解决方法
来源:互联网 发布:其恕乎是什么意思 编辑:程序博客网 时间:2024/05/29 03:39
发现问题
hadoop安装好之后,通过jps查看进程都正常,但是通过
hdfs dfsadmin -report
和
http://master:8088
查看的时候,都没结果,当时也没在意。
在运行wordcount的时候发现文件上传不上去,在日志中发现这样一句话:
There are 0 datanode(s) running and no node(s) are excluded in this operation.
看来就是安装过程中出现问题。
检查了安装过程中的每一步,都没问题。网上有说是防火墙的问题,也通过关闭iptables来关闭防火墙,还是没有解决。
最后发现,centos7的防火墙不是iptables,默认使用的firewall,所以我始终都没有关闭防火墙。
解决问题
首先先关闭防火墙:
sudo systemctl stop firewalld.service
然后关闭开机启动:
sudo systemctl disable firewalld.service
如果还想安装iptables并且开放端口就:
sudo yum install iptables-services
问题就解决了
0 0
- 安装Hadoop时:0 datanode(s) running的解决方法
- hadoop 异常 There are 0 datanode(s) running
- (Hadoop datanode 问题)There are 0 datanode(s) running and no node(s) are excluded in this operation
- Hadoop集群无法启动datanode的解决方法
- There are 0 datanode(s) running and no node(s) are excluded in this operation
- There are 0 datanode(s) running and no node(s) are excluded in this operation.
- There are 0 datanode(s) running and no node(s) are excluded in this operation
- 启动Hadoop时,DataNode启动后一会儿自动消失的解决方法
- 启动Hadoop时,DataNode启动后一会儿自动消失的解决方法
- 启动Hadoop时,DataNode启动后一会儿自动消失的解决方法
- hadoop datanode 为0的常见问题
- hadoop环境安装,Datanode起不来
- Hadoop安装 jps没有datanode
- hadoop 安装出现的几种异常的处理方法,hadoop无法启动,no namenode to stop问题的解决方法,no datanode
- hadoop 安装出现的几种异常的处理方法,hadoop无法启动,no namenode to stop问题的解决方法,no datanode
- dfsput操作报“There are 0 datanode(s) running and no node(s) are excluded in this operation”
- CentOS7中安装Hadoop2.6.4,能够正常启动,但datanode的数目为0的解决方法
- hadoop format之后datanode起不了解决方法
- Haddop学习笔记---HDFS体系结构
- 5种 (UI线程与后台线程交互设计的方法)
- LeetCode 212. Word Search II
- Hadoop的“Hello world”---WordCount
- 移动端屏幕适配
- 安装Hadoop时:0 datanode(s) running的解决方法
- 华为OJ 扑克牌大小
- 安装Hadoop需要配置的几个文件
- 2.《Unity中C#脚本语法-常用变量类型》
- 一步一步配置ssh免密码登陆配置ssh免密码登陆
- 轻松入门Github
- 1010 of search
- hdu3652 数位dp经典
- SpringMVC+Spring+Mybatis整合程序之整合