<?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: hdfs client takes 20s to failover to alternate namenode in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hdfs-client-takes-20s-to-failover-to-alternate-namenode/m-p/208695#M170652</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44349/davidrobison.html" nodeid="44349"&gt;@David Robison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The connection failures result in retrying alternate NameNodes up to a total of 15 times with an exponentially increasing delay of up to 15 seconds. The  "dfs.client.failover.max.attempts" property defines the failover attempts (by default set to 15) and the maximum wait time between attempts is &lt;STRONG&gt;"15 seconds by default"&lt;/STRONG&gt; which is controlled by the property  &lt;STRONG&gt;"dfs.client.failover.sleep.max.millis".&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://hadoop.apache.org/docs/r2.7.3/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml"&gt;dfs.client.failover.sleep.max.millis &lt;/A&gt;:  This option specifies the maximum value to wait between failovers.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2017 23:04:18 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-06T23:04:18Z</dc:date>
  </channel>
</rss>

