<?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: Any blocking during HBase compaction? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108503#M25726</link>
    <description>&lt;P&gt;You might be right. In my previous experiences with HBase (with high write throughput requirements) every time client timed out and were not able to establish connection back until major compaction was over.(To be precise connection was not blocked or lost as soon as major compaction started. But gradually connection died and client were not able to reconnect until major compaction was over). It might be a side effect.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Apr 2016 02:32:49 GMT</pubDate>
    <dc:creator>ajay_kumar</dc:creator>
    <dc:date>2016-04-30T02:32:49Z</dc:date>
    <item>
      <title>Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108496#M25719</link>
      <description>&lt;P&gt;Probably a real simple question, but I can't seem to find the answer.&lt;/P&gt;&lt;P&gt;What, if anything, is the impact on availability of a region during HBase maintenance tasks like major/minor compaction, region splits/merges, etc.&lt;/P&gt;&lt;P&gt;For example can we read/write to a region while it is doing a compaction, or will that get blocked until the operation has completed?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 05:08:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108496#M25719</guid>
      <dc:creator>jason_knaster</dc:creator>
      <dc:date>2016-04-21T05:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108497#M25720</link>
      <description>&lt;P&gt;
	If a HBase table is undergoing major compaction client may encounter very low read/write throughput. Eventually clients may face connection timeout until major compaction is over.&lt;/P&gt;&lt;P&gt;
	In case of Minor compaction table is available for read and writes.&lt;/P&gt;&lt;P&gt;
	For more details refer this &lt;A href="https://hbase.apache.org/book.html#compaction"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 05:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108497#M25720</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-04-21T05:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108498#M25721</link>
      <description>&lt;P&gt;I am pretty sure that it is not correct that HBAse is blocked during major compactions. I.e. I tried to find a definitive statement but didn't find any, however I am very sure that you can still read and write from a region during major compaction. However there will be a heavy impact on IO and CPU on the region servers as the storefiles are rewritten so they are normally scheduled during the night. If I am wrong on this one please clarify. &lt;/P&gt;&lt;P&gt;Region splits are essentially immediate since regions are logically split into two and will be rewritten during the next compactions. So there may be some impact but it should be very quick. &lt;/P&gt;&lt;P&gt;Region merging is an interesting question, I am not aware of the process for this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 20:16:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108498#M25721</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-04-21T20:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108499#M25722</link>
      <description>&lt;P&gt;Thank you both for your replies. I too have been unable to find a definitive statement about availability of table/region during major compaction. I understand that there will be impact on IO/CPU and plan on scheduling major compactions on weekends (or other periods of lower activity), but for a 24/7 application, I need to understand if the application will be unavailable/blocked during the minutes(?) of compaction. &lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:26:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108499#M25722</guid>
      <dc:creator>jason_knaster</dc:creator>
      <dc:date>2016-04-21T21:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108500#M25723</link>
      <description>&lt;P&gt;I am sure that there is no outage during a major compaction. Compactions are done on the store files while the old files still exist and then the files are switched out. I don;t think that basic process changes between minor and major compaction. The difference is that major compactions take all store files and remove deleted rows as well. So they have more impact on the cluster. Sometimes when all files are selected for a minor compaction he will do a major anyhow. So no unless an HBase commiter jumps in and tells me otherwise there is no outage during a major compaction.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.slideshare.net/cloudera/hbasecon-2013-compaction-improvements-in-apache-hbase" target="_blank"&gt;http://www.slideshare.net/cloudera/hbasecon-2013-compaction-improvements-in-apache-hbase&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 22:38:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108500#M25723</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-04-21T22:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108501#M25724</link>
      <description>&lt;P&gt;I haven't seen the actual source code of major compaction. For all practical reasons i have not seen any hbase client able to perform any transaction during major compaction.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:13:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108501#M25724</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-04-22T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108502#M25725</link>
      <description>&lt;P&gt;That is very weird. After all a minor compaction gets sometimes elevated to a major compaction. It would be pretty catastrophic if this would make HBase inaccessible. It is also never mentioned anywhere.  I totally agree that there will be a performance impact of course.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ngdata.com/visualizing-hbase-flushes-and-compactions/"&gt;http://www.ngdata.com/visualizing-hbase-flushes-and-compactions/&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;during flushes &amp;amp; compactions, HBase keeps processing put and get requests, always giving a consistent view of the data&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 25 Apr 2016 17:19:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108502#M25725</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-04-25T17:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108503#M25726</link>
      <description>&lt;P&gt;You might be right. In my previous experiences with HBase (with high write throughput requirements) every time client timed out and were not able to establish connection back until major compaction was over.(To be precise connection was not blocked or lost as soon as major compaction started. But gradually connection died and client were not able to reconnect until major compaction was over). It might be a side effect.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 02:32:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/108503#M25726</guid>
      <dc:creator>ajay_kumar</dc:creator>
      <dc:date>2016-04-30T02:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Any blocking during HBase compaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/303629#M25727</link>
      <description>&lt;P&gt;Facing issues with region availability and it seems to be due to compactions. We are getting below exception when we try to access region org.apache.hadoop.hbase.NotServingRegionException: Region is not online But when we checked corresponding region server logs we can see lot of compactions happening on the table. Does table becomes unaccessible during compaction? Is there a way to reduce number of compactions through some setting?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:27:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Any-blocking-during-HBase-compaction/m-p/303629#M25727</guid>
      <dc:creator>ssri</dc:creator>
      <dc:date>2020-09-29T12:27:35Z</dc:date>
    </item>
  </channel>
</rss>

