<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to configure fs.client.block.write.replace-datanode-on-failure.policy parameter in hdfs in ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349870#M235802</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add these properties as additional properties&amp;nbsp;in “HDFS Client Configuration Safety Valve for hdfs-site.xml”.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dfs.client.block.write.replace-datanode-on-failure.policy=ALWAYS&lt;BR /&gt;dfs.client.block.write.replace-datanode-on-failure.best-effort=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you found this response assisted with your query, please take a moment to log in and click on&amp;nbsp; KUDOS &lt;SPAN class="s1"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;amp; ”Accept as Solution" below this post.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 13:27:30 GMT</pubDate>
    <dc:creator>Babasaheb</dc:creator>
    <dc:date>2022-08-10T13:27:30Z</dc:date>
    <item>
      <title>how to configure fs.client.block.write.replace-datanode-on-failure.policy parameter in hdfs in ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349864#M235798</link>
      <description>&lt;P&gt;good morning cloudera community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using apache ambari in version 2.6.2.2 and in this version we are using HDP 2.6.5, with that, we need to configure the parameter below in HDFS, but unfortunately we are not finding this option in the HDFS configuration, so we need to know how configure this parameter in HDFS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;parameter: dfs.client.block.write.replace-datanode-on-failure.policy=ALWAYS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: would it be in the "custom hdfs-site" option by clicking on "add property" and adding the parameter in the "properties" box?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:43:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349864#M235798</guid>
      <dc:creator>yagoaparecidoti</dc:creator>
      <dc:date>2022-08-10T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure fs.client.block.write.replace-datanode-on-failure.policy parameter in hdfs in ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349870#M235802</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add these properties as additional properties&amp;nbsp;in “HDFS Client Configuration Safety Valve for hdfs-site.xml”.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dfs.client.block.write.replace-datanode-on-failure.policy=ALWAYS&lt;BR /&gt;dfs.client.block.write.replace-datanode-on-failure.best-effort=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;If you found this response assisted with your query, please take a moment to log in and click on&amp;nbsp; KUDOS &lt;SPAN class="s1"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;amp; ”Accept as Solution" below this post.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:27:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349870#M235802</guid>
      <dc:creator>Babasaheb</dc:creator>
      <dc:date>2022-08-10T13:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to configure fs.client.block.write.replace-datanode-on-failure.policy parameter in hdfs in ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349875#M235804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96163"&gt;@yagoaparecidoti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, as you are using Ambari to manage the cluster, you can add the property as follows :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Ambari -&amp;gt; HDFS -&amp;gt; Configs -&amp;gt; Advanced -&amp;gt; Custom hdfs-site -&amp;gt; Add Property&lt;BR /&gt;&lt;SPAN&gt;dfs.client.block.write.replace-datanode-on-failure.policy=ALWAYS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Aug 2022 14:15:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-configure-fs-client-block-write-replace-datanode-on/m-p/349875#M235804</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-08-10T14:15:47Z</dc:date>
    </item>
  </channel>
</rss>

