为什么hdfs-site.xml文件始终读不到这一条配置
最近为了项目,在自己机器上配了hadoop的环境,做文件append操作时出的问题
Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: current=[192.168.4.111:50010], original=[192.168.4.111:50010]). 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.
以下是两条相关配置,写在hdfs-site.xml里面了
<property>
<name>dfs.client.block.write.replace-datanode-on-failure.enable</name>
<value>true</value>
</property>
<property>
<name>dfs.client.block.write.replace-datanode-on-failure.policy</name>
<value>NEVER</value>
</property>