<?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: Significance of ScanNext Latency in HBase Metrics on Ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124642#M43249</link>
    <description>&lt;P&gt;The above resting state Read Latency in our system was cut by &lt;STRONG&gt;98%&lt;/STRONG&gt; to 192 ms by increasing &lt;EM&gt;hbase.&lt;STRONG&gt;client&lt;/STRONG&gt;.scanner.max.result.size&lt;/EM&gt; from a &lt;STRONG&gt;default of 2 MB&lt;/STRONG&gt; to &lt;STRONG&gt;&lt;EM&gt;50 MB&lt;/EM&gt;&lt;/STRONG&gt;.  In our case, we have HBASE 'cell size' (==Maximum Record Size == hbase.client.keyvalue.maxsize) of 10MB which is 5x larger than said default.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;hbase.&lt;STRONG&gt;client&lt;/STRONG&gt;.scanner.max.result.size &lt;/EM&gt;can be used to change the default "chunk size" transited back to the client. Again, by default this value is&lt;STRONG&gt; &lt;/STRONG&gt;2 MB&lt;STRONG&gt; &lt;EM&gt;since HBase 1.1+&lt;/EM&gt;&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Note about &lt;EM&gt;hbase.&lt;STRONG&gt;server&lt;/STRONG&gt;.scanner.max.result.size — &lt;/EM&gt;This setting enforces a maximum result size (in bytes), when reached the server will return the results is has so far. This is a safety setting and should be kept large. The default is inifinite in 0.98 and 1.0.x and &lt;STRONG&gt;100mb&lt;/STRONG&gt; in &lt;STRONG&gt;1.1 and later. &lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 05:24:55 GMT</pubDate>
    <dc:creator>jchambers</dc:creator>
    <dc:date>2016-11-08T05:24:55Z</dc:date>
    <item>
      <title>Significance of ScanNext Latency in HBase Metrics on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124639#M43246</link>
      <description>&lt;P&gt;Can someone explain what the "ScanNext" metrics which is exposed as "Read Latency" in Ambari  signifies ? Just trying to co-relate this to any performance impact ( if any ) if we see this in order of around 90-10 seconds . &lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:37:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124639#M43246</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2016-10-11T22:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Significance of ScanNext Latency in HBase Metrics on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124640#M43247</link>
      <description>&lt;P&gt;Scans in HBase work in batches since there is no streaming RPC in HBase. A scanner is opened for a region and the scan is executed as a series of RPC calls to fetch the next set of results. Every such call is a "next" operation, referred as ScanNext. The scan next call tries to fetch either a predefined set of rows (scanner caching) or predefined max result size (2MB, etc). The behavior depends on the version of HBase as well as configuration. More info here: &lt;A href="https://blogs.apache.org/hbase/entry/scan_improvements_in_hbase_1" target="_blank"&gt;https://blogs.apache.org/hbase/entry/scan_improvements_in_hbase_1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Seeing 10-90 seconds in the latency metrics means that most of the RPC call to get the next scan results ended up taking that long. It maybe due to a case where the scan is scanning a lot of data with a highly selective filter and not returning data or something else is wrong causing excessive latency for the scans. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 01:44:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124640#M43247</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2016-10-12T01:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Significance of ScanNext Latency in HBase Metrics on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124641#M43248</link>
      <description>&lt;P&gt;I'm seeing a similar "Read Latency" of 10 seconds in Ambari but with HBASE &lt;EM&gt;at rest&lt;/EM&gt; (i.e., nobody is running any scans or anything with it).&lt;/P&gt;&lt;P&gt;This was observed after loading ~30 GB of data (HDFS 30% full now) into a three-node HBase cluster having two Region Servers (these RS's had finished auto balancing regions between them followed by me executing a manual compaction from HBase webGUI). Even restarting HBase has no effect on read latency.&lt;/P&gt;&lt;P&gt;I noticed too that Grafana has (a corresponding?) graph : &lt;STRONG&gt;HBase-Performance --&amp;gt; Operation Latencies : Scan Next &lt;/STRONG&gt; -- but oddly it's one of the very few graphs labeled, "No datapoints", as if it were unplugged.&lt;/P&gt;&lt;P&gt;Read latency goes up to 32 seconds when running 'hbase shell scan tableX'... no selective filter used. I'm surprised Ambari doesn't have a built in alarm that trips on anything over 2 seconds (Ambari GUI reports 'no alarms' even when read latency is ~18 min!) Pretty sure we have a config problem but not sure what.&lt;/P&gt;&lt;P&gt;I'm running all this in AWS/Ubuntu14 using Ambari 2.2.2.0 (HDP 2.4.2.0-258) managed HBASE 1.1.2.2.4.2.0-258.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2016 09:07:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124641#M43248</guid>
      <dc:creator>jchambers</dc:creator>
      <dc:date>2016-11-07T09:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Significance of ScanNext Latency in HBase Metrics on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124642#M43249</link>
      <description>&lt;P&gt;The above resting state Read Latency in our system was cut by &lt;STRONG&gt;98%&lt;/STRONG&gt; to 192 ms by increasing &lt;EM&gt;hbase.&lt;STRONG&gt;client&lt;/STRONG&gt;.scanner.max.result.size&lt;/EM&gt; from a &lt;STRONG&gt;default of 2 MB&lt;/STRONG&gt; to &lt;STRONG&gt;&lt;EM&gt;50 MB&lt;/EM&gt;&lt;/STRONG&gt;.  In our case, we have HBASE 'cell size' (==Maximum Record Size == hbase.client.keyvalue.maxsize) of 10MB which is 5x larger than said default.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;hbase.&lt;STRONG&gt;client&lt;/STRONG&gt;.scanner.max.result.size &lt;/EM&gt;can be used to change the default "chunk size" transited back to the client. Again, by default this value is&lt;STRONG&gt; &lt;/STRONG&gt;2 MB&lt;STRONG&gt; &lt;EM&gt;since HBase 1.1+&lt;/EM&gt;&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;Note about &lt;EM&gt;hbase.&lt;STRONG&gt;server&lt;/STRONG&gt;.scanner.max.result.size — &lt;/EM&gt;This setting enforces a maximum result size (in bytes), when reached the server will return the results is has so far. This is a safety setting and should be kept large. The default is inifinite in 0.98 and 1.0.x and &lt;STRONG&gt;100mb&lt;/STRONG&gt; in &lt;STRONG&gt;1.1 and later. &lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 05:24:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124642#M43249</guid>
      <dc:creator>jchambers</dc:creator>
      <dc:date>2016-11-08T05:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Significance of ScanNext Latency in HBase Metrics on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124643#M43250</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/372/enis.html" nodeid="372"&gt;@Enis&lt;/A&gt; can you comment on this?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2016 04:38:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Significance-of-ScanNext-Latency-in-HBase-Metrics-on-Ambari/m-p/124643#M43250</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-11-19T04:38:34Z</dc:date>
    </item>
  </channel>
</rss>

