<?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 - How to fix failed regions in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312263#M225066</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83335"&gt;@WayneWang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community. The issue being faced by your Team is a Table having 1 "Failed Region" i.e.&amp;nbsp;327a6ed6b00c95e63346f6d725147952. Your Team have tried HBCK fix &amp;amp; repair (As this is HBase v1.x), yet the issue persists.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can try the following Steps as well:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Restarting the Masters after running any HBCK fix Command&lt;/LI&gt;&lt;LI&gt;As RIT are maintained in ZNode, Try removing the RIT ZNode &amp;amp; restart the Master again.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;For the Region, Would request you to review the RegionServer (Wherein the Region is in FAILED State) &amp;amp; confirm the reasoning for the same as well.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 05:26:37 GMT</pubDate>
    <dc:creator>smdas</dc:creator>
    <dc:date>2021-03-02T05:26:37Z</dc:date>
    <item>
      <title>Hbase - How to fix failed regions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/311130#M224482</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have a 3 datanode hadoop cluster (CDH 5.10). the replication factor is set to 2.&amp;nbsp; now we cannot access data from Hbase table due to failed regions on that table. could somebody can give me some suggestion to fix this issue(we don't lost data)?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WayneWang_0-1612752028110.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/30351i1B970F32AFBA047E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WayneWang_0-1612752028110.png" alt="WayneWang_0-1612752028110.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the failed regions are in "Regions in Transition" state. we tried to fix and repair the table by below command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;$ hbase hbck -fix &amp;lt;table&amp;gt;
$ hbase hbck -repair &amp;lt;table&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But failed, we got error like below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;21/02/08 02:03:33 INFO util.HBaseFsck: Checking and fixing region consistency
ERROR: Region { meta =&amp;gt; xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952., hdfs =&amp;gt; hdfs://cdh-cm.test.com:8020/hbase/data/default/xxxxLogsIndexer/327a6ed6b00c95e63346f6d725147952, deployed =&amp;gt; , replicaId =&amp;gt; 0 } not deployed on any region server.
Trying to fix unassigned region...
21/02/08 02:03:33 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
21/02/08 02:03:34 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
21/02/08 02:03:35 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
21/02/08 02:03:36 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
21/02/08 02:03:37 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
21/02/08 02:03:38 INFO util.HBaseFsckRepair: Region still in transition, waiting for it to become assigned: {ENCODED =&amp;gt; 327a6ed6b00c95e63346f6d725147952, NAME =&amp;gt; 'xxxxLogsIndexer,,1588737167917.327a6ed6b00c95e63346f6d725147952.', STARTKEY =&amp;gt; '', ENDKEY =&amp;gt; '\x00:\x7F\xFF\xFE\x8Eb\xAAY\xF4:Z\x891BlAF\x93\x98Q^\x1F\xAF\xA8\xEE\x97'}
^C21/02/08 02:03:39 INFO client.ConnectionManager$HConnectionImplementation: Closing master protocol: MasterService
21/02/08 02:03:39 INFO client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x1777c1d848d09be
21/02/08 02:03:39 INFO zookeeper.ZooKeeper: Session: 0x1777c1d848d09be closed
21/02/08 02:03:39 INFO zookeeper.ClientCnxn: EventThread shut down
21/02/08 02:03:39 INFO util.HBaseFsck: Finishing hbck&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Br, Wayne&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:40:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/311130#M224482</guid>
      <dc:creator>WayneWang</dc:creator>
      <dc:date>2022-09-16T14:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - How to fix failed regions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312263#M225066</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83335"&gt;@WayneWang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community. The issue being faced by your Team is a Table having 1 "Failed Region" i.e.&amp;nbsp;327a6ed6b00c95e63346f6d725147952. Your Team have tried HBCK fix &amp;amp; repair (As this is HBase v1.x), yet the issue persists.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can try the following Steps as well:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Restarting the Masters after running any HBCK fix Command&lt;/LI&gt;&lt;LI&gt;As RIT are maintained in ZNode, Try removing the RIT ZNode &amp;amp; restart the Master again.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;For the Region, Would request you to review the RegionServer (Wherein the Region is in FAILED State) &amp;amp; confirm the reasoning for the same as well.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 05:26:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312263#M225066</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-03-02T05:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - How to fix failed regions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312989#M225355</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83335"&gt;@WayneWang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you are doing well. I wish to follow-up with you concerning the issue posted. Kindly let us know if the concerned issue has been resolved &amp;amp; the steps followed. This would help us to proceed accordingly on the Post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Smarak&lt;/P&gt;</description>
      <pubDate>Sun, 14 Mar 2021 07:59:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312989#M225355</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-03-14T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hbase - How to fix failed regions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/313398#M225521</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83335"&gt;@WayneWang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we haven't received any further Update, We are closing the Post assuming the issue was handled by the Steps shared above [1]. In HBase v1.x, We have limited choices with HBase v2.x using a new AssignmentManager (Details in&amp;nbsp;HBASE-12439), which would assist in managing the RIT without ZooKeeper involvement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for using Cloudera Community.&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/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312263/highlight/true#M225066" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/312263/highlight/true#M225066&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 07:12:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hbase-How-to-fix-failed-regions/m-p/313398#M225521</guid>
      <dc:creator>smdas</dc:creator>
      <dc:date>2021-03-19T07:12:35Z</dc:date>
    </item>
  </channel>
</rss>

