<?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: Do you increase zookeeper max session timeout to handle region server GC pauses? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167358#M129690</link>
    <description>&lt;P&gt;If you don't have latency sensitive application then you should go ahead and increase it.&lt;/P&gt;&lt;P&gt;But I would suggest to tune your GC and do capacity planning as per load. If some nodes are experiencing more GC than others then you might need to check the hot spots and if your query is scanning full table then you might try skipping block cache for that scan.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2016 15:42:20 GMT</pubDate>
    <dc:creator>asinghal</dc:creator>
    <dc:date>2016-04-13T15:42:20Z</dc:date>
    <item>
      <title>Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167356#M129688</link>
      <description>&lt;P&gt;Default
zookeeper max session time out is 20 times the time tick value. Many times we
notice GC leading to longer pauses on Hbase region server end causing it to
lose its ephemeral znode on zookeeper and hence, being marked dead by the
master. One way to address this could be to increase zookeeper
maxSessionTimeout to something like say, 90 sec or so because some of our GC
pauses are around that mark. The downside being that most of the client
applications are now allowed to negotiate a higher session timeout value and it
takes longer for master to mark down a dead server. &lt;/P&gt;&lt;P&gt;However, do you usually increase this value to address GC pause issues? &lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:59:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167356#M129688</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-04-13T13:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167357#M129689</link>
      <description>&lt;P&gt;Hello Sumit&lt;/P&gt;&lt;P&gt;Increasing the zookeeper session timeout is often a quick first fix to GC pause "killing" in Hbase. In the longer run If you have GC pauses is because your process is trying to find memory. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;There can be architectural approaches to this problem: For example does this happen during heavy writes loads in which case you consider doing bulk load when possible. &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;You can also look at your hbase configuration what is your overall allocated memory for Hbase and how is distributed for writes and reads. Do you flush your memstore often, does this lead to many compactions? &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Lastly you can look at GC tuning. I won't dive into this one but Lars has done a nice introduction blog post on this &lt;A href="http://hadoop-hbase.blogspot.ie/2014/03/hbase-gc-tuning-observations.html"&gt;here:http://hadoop-hbase.blogspot.ie/2014/03/hbase-gc-tuning-observations.html&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Hope any of this helps&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:18:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167357#M129689</guid>
      <dc:creator>nmaillard1</dc:creator>
      <dc:date>2016-04-13T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167358#M129690</link>
      <description>&lt;P&gt;If you don't have latency sensitive application then you should go ahead and increase it.&lt;/P&gt;&lt;P&gt;But I would suggest to tune your GC and do capacity planning as per load. If some nodes are experiencing more GC than others then you might need to check the hot spots and if your query is scanning full table then you might try skipping block cache for that scan.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:42:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167358#M129690</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-04-13T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167359#M129691</link>
      <description>&lt;P&gt;Overall, increasing timeout with zookeeper caused us to not lose a single region server instance due to session timeout. Plus, we also use Phoenix on top of Hbase and avoid full table scans with some interesting options such as skip-scans. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:55:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167359#M129691</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-04-13T15:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167360#M129692</link>
      <description>&lt;P&gt;So, one of the things we tried was to increase eden space. Ideally, it would be better that block cache can remain in tenured while memstore mostly does not get promoted. This is because memstore flush would anyway push them out of heap. Increasing eden seems a good choice because it reduced a lot of our GC pauses. We also tried using G1 collector but despite hearing so many good things about it, we could not tune it enough to help us with hbase. In our case, writes happen both in bursts as well as at ~constant rate. Reads are usually spanning a lot of regions due to our salting of rowkeys. Could not understand your point about compactions though? Would more compactions lead to larger pauses?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:00:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167360#M129692</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-04-13T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167361#M129693</link>
      <description>&lt;P&gt;Yes compaction , invalidate the block cache hence results in more GC.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 01:18:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167361#M129693</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-04-14T01:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167362#M129694</link>
      <description>&lt;P&gt;GC pauses are mostly expected when there is frequent eviction from block cache( with un-repeated or large scans loading new blocks in cache everytime, with frequent compaction, with scans on table which is not well distributed across regionservers making one regionserver's cache hot etc.  ).&lt;/P&gt;&lt;P&gt;PS:- It is not necessary that phoenix always use skip-scan filter for every query for eg:- it will not use it if you don't have leading columns of the rowkey in your "where" clause as it will not know to which key to seek.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 19:57:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167362#M129694</guid>
      <dc:creator>asinghal</dc:creator>
      <dc:date>2016-04-14T19:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167363#M129695</link>
      <description>&lt;P&gt;Yes, agree about your point on skip-scan. We always use leading columns in where.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 23:09:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167363#M129695</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-04-14T23:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167364#M129696</link>
      <description>&lt;P&gt;Ok, I was not aware that major compaction would invalidate block cache. Not sure why that should be so, though. Any link where I can read more on this?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 23:10:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167364#M129696</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-04-14T23:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Do you increase zookeeper max session timeout to handle region server GC pauses?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167365#M129697</link>
      <description>&lt;P&gt;Ok, I figured there are setting which can control whether we want block cache invalidation when major compaction happens. In my case that setting is disabled, however.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 21:49:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Do-you-increase-zookeeper-max-session-timeout-to-handle/m-p/167365#M129697</guid>
      <dc:creator>sumit_nigam</dc:creator>
      <dc:date>2016-05-02T21:49:43Z</dc:date>
    </item>
  </channel>
</rss>

