hadoop搭建,上传文件时出现错误,没有到主机的路由
来源:互联网 发布:北京网络 编辑:程序博客网 时间:2024/06/04 18:27
[hadoop@Master file]
15/03/18 22:54:00 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:00 INFO hdfs.DFSClient: Abandoning block blk_-2701910714669546890_10073
15/03/18 22:54:06 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:06 INFO hdfs.DFSClient: Abandoning block blk_-6595394394333564261_10073
15/03/18 22:54:12 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:12 INFO hdfs.DFSClient: Abandoning block blk_-7654232478902170768_10073
15/03/18 22:54:18 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:18 INFO hdfs.DFSClient: Abandoning block blk_-4057949388287825875_10074
15/03/18 22:54:24 WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new block.
at org.apache.hadoop.hdfs.DFSClient
15/03/18 22:54:24 WARN hdfs.DFSClient: Error Recovery for block blk_-4057949388287825875_10074 bad datanode[0] nodes == null
15/03/18 22:54:24 WARN hdfs.DFSClient: Could not get block locations. Source file “/user/hadoop/input3/file1.txt” - Aborting…
15/03/18 22:54:24 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:24 INFO hdfs.DFSClient: Abandoning block blk_-7080188390242653981_10075
15/03/18 22:54:30 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:30 INFO hdfs.DFSClient: Abandoning block blk_-6858744431122541922_10075
15/03/18 22:54:36 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:36 INFO hdfs.DFSClient: Abandoning block blk_-5335567731842422100_10075
15/03/18 22:54:42 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoRouteToHostException: 没有到主机的路由
15/03/18 22:54:42 INFO hdfs.DFSClient: Abandoning block blk_7680139810007024027_10075
15/03/18 22:54:48 WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new block.
at org.apache.hadoop.hdfs.DFSClient
15/03/18 22:54:48 WARN hdfs.DFSClient: Error Recovery for block blk_7680139810007024027_10075 bad datanode[0] nodes == null
15/03/18 22:54:48 WARN hdfs.DFSClient: Could not get block locations. Source file “/user/hadoop/input3/file2.txt” - Aborting…
put: 没有到主机的路由
没有到主机的路由
15/03/18 22:54:48 ERROR hdfs.DFSClient: Exception closing file /user/hadoop/input3/file1.txt : java.net.NoRouteToHostException: 没有到主机的路由
java.net.NoRouteToHostException: 没有到主机的路由
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
at org.apache.hadoop.hdfs.DFSClient
at org.apache.hadoop.hdfs.DFSClient
at org.apache.hadoop.hdfs.DFSClient
15/03/18 22:54:48 ERROR hdfs.DFSClient: Exception closing file /user/hadoop/input3/file2.txt : java.net.NoRouteToHostException: 没有到主机的路由
java.net.NoRouteToHostException: 没有到主机的路由
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
at org.apache.hadoop.hdfs.DFSClient
at org.apache.hadoop.hdfs.DFSClient
at org.apache.hadoop.hdfs.DFSClient
解决方案:
(1)从namenode主机ping其它slaves节点的主机名(注意是slaves节点的主机名),如果ping不通,原因可能是namenode节点的/etc/hosts 未配置主机名与IP地址的映射关系,补全主机名与IP地址的映射关系。
(2)从datanode主机ping master节点的主机名(注意也是节点的主机名),如果ping不通,原因可能是datenode节点的/etc/hosts 未配置主机名与IP地址的映射关系,补全主机名与IP地址的映射关系。
(3)查看各机器节点的防火墙是否关闭(或者设置防火墙开启,但对我们的指定端口开放,最好是关闭防火墙):
- hadoop搭建,上传文件时出现错误,没有到主机的路由
- hadoop 没有主机路由错误
- hadoop java.net.NoRouteToHostException: 没有到主机的路由
- hadoop java.net.NoRouteToHostException: 没有到主机的路由
- 没有到主机的路由
- Hadoop1.x安装:关于错误没有到主机的路由
- centos7 没有到主机的路由
- hadoop问题之java.net.NoRouteToHostException: 没有到主机的路由
- HADOOP 启动NodeManager闪退,logs信息:java.net.NoRouteToHostException: 没有到主机的路由
- Hadoop重启服务器后报错Caused by: java.net.NoRouteToHostException: 没有到主机的路由
- hadoop 报错,java.net.NoRouteToHostException: 没有到主机的路由
- 安装zookeeper出现java.net.NoRouteToHostException: 没有到主机的路由
- 解决ftp登录遇到connect:没有到主机的路由
- hive 报:java.net.NoRouteToHostException: 没有到主机的路由
- zookeeper集群搭建没有找到主机路由
- svn: 无法连接主机“x.x.x.x”: 没有到主机的路由
- svn: 无法连接主机“x.x.x.x”: 没有到主机的路由
- 织梦(DEDE)5.7上传文件出现“你没有选择上传的文件或选择的文件大小超出限制”错误
- svm支持向量机
- layui type2 通过url给iframe子页面传值
- HDU6061 RXD and functions[NTT]
- svn: Can't convert string from 'UTF-8' to native encoding
- redis-sentinels 启动报错:All sentinels down, cannot determine where is redis-sentinel master is running.
- hadoop搭建,上传文件时出现错误,没有到主机的路由
- <c:forEach varStatus="status">中 varStatus的属性简介
- Shuffle'm Up
- spark streaming集成kafka接收数据的方式
- QTreeView model/View
- PHP数组的总结
- springboot打成war包
- 前向逐步回归
- HDU-4267:A Simple Problem with Integers(多线段树选择更新)