独家de记忆 2018-08-30 09:37 采纳率: 0%
浏览 1188
已结题

java中调用hdfs上传文件异常

hadoop内存情况:

 Name: 172.16.100.254:9866 (aliyunhost)
Hostname: aliyunhost
Decommission Status : Normal
Configured Capacity: 42139451392 (39.25 GB)
DFS Used: 49152 (48 KB)
Non DFS Used: 4084449280 (3.80 GB)
DFS Remaining: 35890798592 (33.43 GB)
DFS Used%: 0.00%
DFS Remaining%: 85.17%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 1
Last contact: Thu Aug 30 17:25:22 CST 2018
Last Block Report: Thu Aug 30 16:27:10 CST 2018
Num of Blocks: 1

jps

 4112 DataNode
6498 Jps
4552 ResourceManager
4010 NameNode
4271 SecondaryNameNode

文件上传异常信息

 org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /test1/renhh/test1.txt could only be written to 0 of the 1 minReplication nodes. There are 1 datanode(s) running and 1 node(s) are excluded in this operation.

  • 写回答

1条回答 默认 最新

  • radarwave 2018-08-31 02:15
    关注

    datanode在运行但是有问题被排除掉了。看看datanode的日志检查下datanode有什么问题吧。

    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记