<?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 NotServingRegionException in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBASE-NotServingRegionException/m-p/329867#M230531</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92928"&gt;@loridigia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Based on the current error you provided&amp;nbsp;&lt;SPAN&gt;"org.apache.hadoop.hbase.NotServingRegionException:&amp;nbsp; table XXX is not online on worker04" maybe some regions are not deployed on any RegionServers yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please check this result to see is there any inconsistencies on this table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. sudo -u hbase hbase hbck -details &amp;gt; /tmp/hbck.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. If you see inconsistencies please grep ERROR from hbck.txt you will see which region has problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Then you need to check if this region's directory is complete in this result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hdfs dfs -ls -R /hbase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Then need to check in hbase shell : scan 'hbase:meta', if this region's info are updated in hbase:meta table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Based on type of the issue we need to use hbck2 jar to fix the inconsistencies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2" target="_blank"&gt;https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are general steps to deal with this kind of problem, there could be more complex issues behind it. We suggest you to file a case with Cloudera support.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 12:02:37 GMT</pubDate>
    <dc:creator>willx</dc:creator>
    <dc:date>2021-11-09T12:02:37Z</dc:date>
    <item>
      <title>HBASE NotServingRegionException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBASE-NotServingRegionException/m-p/329442#M230460</link>
      <description>&lt;P&gt;Hi, i have an issue that had also time ago and dont remember how i fixed it.&lt;BR /&gt;Basically when try to connect to some hbase tables, it gives error : "org.apache.hadoop.hbase.NotServingRegionException:&amp;nbsp; table XXX is not online on worker04"&lt;BR /&gt;&lt;BR /&gt;My hbase is 2.0.&lt;BR /&gt;Another thing is that if i restart hbase, i have like 200 Regions in transit, but they disappear if i do "restart all region servers" . But it doesnt fix the problem.&lt;BR /&gt;&lt;BR /&gt;I recall that i did something with zookeeper, with the ZkCli, but cant remember what.&lt;BR /&gt;I think the problem is with the Meta table. But since i'm in a Production env. i must be very careful.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 18:24:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBASE-NotServingRegionException/m-p/329442#M230460</guid>
      <dc:creator>loridigia</dc:creator>
      <dc:date>2021-11-02T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBASE NotServingRegionException</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBASE-NotServingRegionException/m-p/329867#M230531</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/92928"&gt;@loridigia&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Based on the current error you provided&amp;nbsp;&lt;SPAN&gt;"org.apache.hadoop.hbase.NotServingRegionException:&amp;nbsp; table XXX is not online on worker04" maybe some regions are not deployed on any RegionServers yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please check this result to see is there any inconsistencies on this table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. sudo -u hbase hbase hbck -details &amp;gt; /tmp/hbck.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. If you see inconsistencies please grep ERROR from hbck.txt you will see which region has problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Then you need to check if this region's directory is complete in this result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hdfs dfs -ls -R /hbase&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. Then need to check in hbase shell : scan 'hbase:meta', if this region's info are updated in hbase:meta table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Based on type of the issue we need to use hbck2 jar to fix the inconsistencies.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2" target="_blank"&gt;https://github.com/apache/hbase-operator-tools/tree/master/hbase-hbck2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are general steps to deal with this kind of problem, there could be more complex issues behind it. We suggest you to file a case with Cloudera support.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 12:02:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBASE-NotServingRegionException/m-p/329867#M230531</guid>
      <dc:creator>willx</dc:creator>
      <dc:date>2021-11-09T12:02:37Z</dc:date>
    </item>
  </channel>
</rss>

