使用Java api上传hadoop服务器文件报错。
来源:3-25 HDFS API开发之参数优先级问题

慕移动7194112
2024-01-11
两个方法,新建文件夹没问题,上传文件的时候报错了。本机hosts也配置过了,webUI显示没问题
org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /hdfsApi01/data1 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.
写回答
2回答
-
慕移动7194112
提问者
2024-01-12
耗时1天解决,需要服务器开放端口 9866 。。。
012024-01-14 -
慕移动7194112
提问者
2024-01-11
data1文件进来了,但是内容没有012024-01-14
相似问题