HDFS DataStreamer Exception: 无法替换坏的数据节点
命令执行失败,出现了 'hdfs.DataStreamer: DataStreamer Exception' 错误,原因是由于没有好的数据节点可用来替换坏的数据节点。
错误信息:
Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: current=[DatanodeInfoWithStorage[192.168.0.119:1019,DS-33e9e928-3dba-45c9-83f4-280c84b2920b,DISK]], original=[DatanodeInfoWithStorage[192.168.0.119:1019,DS-33e9e928-3dba-45c9-83f4-280c84b2920b,DISK]]). The current failed datanode replacement policy is DEFAULT, and a client may configure this via 'dfs.client.block.write.replace-datanode-on-failure.policy' in its configuration.
建议通过设置 'dfs.client.block.write.replace-datanode-on-failure.policy' 来配置当前失败的数据节点替换策略。
原文地址: https://www.cveoy.top/t/topic/oLfI 著作权归作者所有。请勿转载和采集!