<?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: HBase Regions In Transition in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310564#M224214</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Also from the HBase UI, the regions are in CLOSING state:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 2.46.02 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 2.46.02 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 09:16:59 GMT</pubDate>
    <dc:creator>rajatsachan</dc:creator>
    <dc:date>2021-01-28T09:16:59Z</dc:date>
    <item>
      <title>HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310513#M224189</link>
      <description>&lt;P&gt;HI all,&lt;BR /&gt;I m using HBase with HDP 3.1.0. Ambari shows that a total of 63 Regions are in transition. This RIT issue is causing problems for other dependent application. Is there a way to fix this without deleting any data/directory?&lt;BR /&gt;Also, hbck is not working with HBase 2.0.&lt;BR /&gt;&lt;BR /&gt;Any help will be deeply appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-27 at 10.23.36 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30277i3CAF854BA6532CFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-01-27 at 10.23.36 PM.png" alt="Screenshot 2021-01-27 at 10.23.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 05:45:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310513#M224189</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-01-28T05:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310542#M224201</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community. Based on the post, You have 2 issues:&lt;/P&gt;&lt;P&gt;(I) Region In Transition,&lt;/P&gt;&lt;P&gt;(II) HBCK Unavailability in HBase v2.x.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For (I), RIT indicates the Regions are likely in OPENING, FAILED_OPEN, CLOSING, FAILED_CLOSE State. For any Region to move from say, RegionServer A to RegionServer B, the Region is Closed on RegionServer A before being opened on RegionServer B. Depending on the Region State, We need to check either RegionServer A or RegionServer B Logs to identify the reasoning for the Transition. Finally, Your Environment has ~1900 Regions per RegionServer, which is way beyond the general recommendations of 300/400 Regions per RegionServer. Such large Region/RegionServer Count would cause delay in WALSplit + WALEditReplay + RegionClosing or RegionOpening etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For (II), KIndly review Link [1]. In short, HBase v2.x requires HBCK v2.x. You can use HBCK1 Read-Only Commands (Example: hbase hbck -details) on HBase v2.x yet any HBCK1 Fix Command won't work on HBase v2.x. You need to use the HBCK v2.x, which has to be built as described in the Link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/HBase-HBCK2-tool-for-HDP-3-x/ta-p/244386" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/HBase-HBCK2-tool-for-HDP-3-x/ta-p/244386&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 06:12:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310542#M224201</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-01-28T06:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310551#M224209</link>
      <description>&lt;P&gt;Thank you for the prompt reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;When I run hbase hbck, it shows a lot of inconsistencies and two types of errors:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt; Region { meta =&amp;gt; CEMSample.pmebktidx,\xCF\x91L\x1B\xAC\xF9\x14\x9A,1602711756619.f99b0dd33f79a9320f3d1e0e663b2498., hdfs =&amp;gt; hdfs://BIGMATCHTEST/apps/hbase/data/data/default/CEMSample.pmebktidx/f99b0dd33f79a9320f3d1e0e663b2498, deployed =&amp;gt; , replicaId =&amp;gt; 0 } not deployed on any region server.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt; There is a hole in the region chain between \x0B\xA2\xE8\xBA.\x8B\xA2\xE8 and \x0C\xED\xE6$3\xB7\x98\x90. You need to create a new .regioninfo and region dir in hdfs to plug the hole.&lt;BR /&gt;&lt;BR /&gt;I tried assigning the regions manually from the hbase shell but it's either taking a lot of time or getting hung up.&lt;BR /&gt;&lt;BR /&gt;What should be done to decrease the Regions in transition?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 07:42:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310551#M224209</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-01-28T07:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310553#M224210</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the details. For the Region which you are trying to assign via HBase Shell, We need to check the Logs (Same RS A &amp;amp; RS B depending on the Region State in Master UI). The Logs would confirm if the Assignment is failing owing to Region failing to Close successfully on RS A or Open successfully on RS B. Depending on the Region State, Check the RS Logs &amp;amp; Master Logs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, You mentioned the assignment is taking time or getting hung up. Each Command would have PID (Visible via "list_procedures" in HBase Shell or "Locks &amp;amp; Procedures" in HMaster UI). We can check if the PID is in RUNNABLE/WAITING/FAILED State.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that you have ~2K Regions per RegionServer &amp;amp; RegionAssignment being Slow isn't unexpected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 08:04:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310553#M224210</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-01-28T08:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310561#M224213</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The commands are mostly in the WAITING state:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 1.49.12 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 1.49.12 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For the first Id, 1011134&lt;BR /&gt;RegionServer A logs:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 1.56.15 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 1.56.15 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Region Server B logs:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 1.56.52 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 1.56.52 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Both logs have similar errors and they are recurring too.&lt;BR /&gt;Does this help?&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 07:54:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310561#M224213</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-01-29T07:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310564#M224214</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Also from the HBase UI, the regions are in CLOSING state:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 2.46.02 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 2.46.02 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:16:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310564#M224214</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-01-28T09:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310567#M224217</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Update. The Screen-Shot showing Error can be ignored as they pertain to the Solr. The Regions are in CLOSING State i.e. the Regions are yet to Closed before they can be opened on a different RegionServer. The PID UI shows the Source RegionServer is "*2383*allstate*. We need to check the Master Logs &amp;amp; the "2383" RegionServer Logs for the Region ID &amp;amp; they should definitely show the reasoning for the CLOSING State.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:36:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310567#M224217</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-01-28T09:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310572#M224219</link>
      <description>&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I checked the Master Logs for the region in question and got this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-01-28 at 3.21.36 PM.png"&gt;&lt;img src="https://community.cloudera.com/skins/images/D06D7978C9C8DDCE2D280E24398D4568/responsive_peak/images/image_not_found.png" alt="Screenshot 2021-01-28 at 3.21.36 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;It mentions the table involved. Do we need to do something with this table? Disable it or something?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 09:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310572#M224219</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-01-28T09:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310585#M224226</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the Master Trace shared by you, Check the RS "2385" Logs for the concerned RegionID. The RS Logs should provide additional details around the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:56:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310585#M224226</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-01-28T15:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310731#M224273</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84886"&gt;@sainivedant41&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a last resort, I used the HBCK2 tool to manually change the state of the regions (from CLOSING to CLOSED).&lt;BR /&gt;The supporting link is mentioned in this thread.&lt;BR /&gt;You can try it out as well.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 12:11:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310731#M224273</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-02-01T12:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310735#M224276</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Update concerning the post. Based on your Update, Your team used the HBCK2 Jar to move the RegionState to CLOSED. Post the concerned change, Were you able to successfully bring the Regions Online as well ? If Yes, Kindly confirm &amp;amp; share the steps to ensure fellow Community Users like&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84886"&gt;@sainivedant41&lt;/a&gt;&amp;nbsp;can use the same as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 13:40:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310735#M224276</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-02-01T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310841#M224326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/40384"&gt;@smdas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, we were able to bring region servers online and the RIT count was reduced to zero.&lt;BR /&gt;With the help of this thread&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/HBase-HBCK2-tool-for-HDP-3-x/ta-p/244386" target="_blank" rel="noopener"&gt;Hbase HBCK2&lt;/A&gt;&amp;nbsp;I was able to create the HBCK2 jar. From the Hbase Master logs (or UI) I got the regions which were in transition and then simply looped through the list:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;for i in `cat /apps/hbase/in_CLOSING.txt`; do hbase hbck -j /apps/hbase/hbase-hbck2-1.1.0-SNAPSHOT.jar -s setRegionState $i CLOSED; done;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 13:54:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310841#M224326</guid>
      <dc:creator>rajatsachan</dc:creator>
      <dc:date>2021-02-02T13:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: HBase Regions In Transition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310875#M224337</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/84805"&gt;@rajatsachan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing the details into the Steps used by you to resolve the issue. This would definitely assist fellow Community Members facing similar issues. If you have no further concerns, Kindly mark the Post as Solved as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Smarak&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 20:05:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-Regions-In-Transition/m-p/310875#M224337</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-02-02T20:05:35Z</dc:date>
    </item>
  </channel>
</rss>

