<?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: Zookeeper average client session timeout in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289068#M214022</link>
    <description>&lt;P&gt;This is on HDP 2.6.5, ZK version :&amp;nbsp;3.4.6.2&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 12:07:14 GMT</pubDate>
    <dc:creator>Govins</dc:creator>
    <dc:date>2020-02-04T12:07:14Z</dc:date>
    <item>
      <title>Zookeeper average client session timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289061#M214015</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider i have a client which is negotiating a timeout from the ZK server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have observed that&amp;nbsp;0x36e18413b196cfc&amp;nbsp; is the session id and i could see that ZK is terminating the connection after&amp;nbsp;23,419 seconds ??? Could anyone suggest why ??&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-01-30 01:03:23,762 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@861] - Client attempting to renew session 0x36e18413b196cfc at /xx.xx.xx.xx:37952&lt;BR /&gt;2020-01-30 01:03:23,762 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:Learner@108] - Revalidating client: 0x36e18413b196cfc&lt;BR /&gt;2020-01-30 01:03:23,762 - INFO [QuorumPeer[myid=1]/0.0.0.0:2181:ZooKeeperServer@617] - Established session 0x36e18413b196cfc with negotiated timeout 10000 for client /xx.xx.xx.xx:37952&lt;BR /&gt;EndOfStreamException: Unable to read additional data from client sessionid 0x36e18413b196cfc, likely client has closed socket&lt;BR /&gt;2020-01-30 07:33:42,962 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1033] - Closed socket connection for client //xx.xx.xx.xx:37952 which had sessionid 0x36e18413b196cfc&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 16:41:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289061#M214015</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-02-04T16:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper average client session timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289068#M214022</link>
      <description>&lt;P&gt;This is on HDP 2.6.5, ZK version :&amp;nbsp;3.4.6.2&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 12:07:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289068#M214022</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-02-04T12:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Zookeeper average client session timeout</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289077#M214031</link>
      <description>&lt;P&gt;The following values are used based on ZooKeeper settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;minSessionTimeout = ticktime * 2,&amp;nbsp; maxSessionTimeout=ticktime * 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;no&amp;nbsp;Session Timeouts are set in the client,&amp;nbsp;the server will use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tickTime*2&lt;/SPAN&gt;. Hence, any session which establishes to ZooKeeper, will have this value as a minimum timeout.&amp;nbsp;&lt;BR /&gt;Likewise,&amp;nbsp;if there are no SessionTimout&amp;nbsp;set,&amp;nbsp;the maximum value will be tick&lt;SPAN&gt;Time*20&lt;/SPAN&gt;. Hence, any session which establishes to ZooKeeper will have this value as a maximum timeout.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The sessionTimeout cannot be less than&amp;nbsp;&lt;SPAN&gt;minSessionTimeout (ticktime * 2)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or greater than&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;maxSessionTimeout (ticktime * 20)&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:22:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zookeeper-average-client-session-timeout/m-p/289077#M214031</guid>
      <dc:creator>Govins</dc:creator>
      <dc:date>2020-02-04T14:22:48Z</dc:date>
    </item>
  </channel>
</rss>

