Resolve Region “not on HDFS or in hbase:meta but deployed on” issue in Hbase
Region “not on HDFS or in hbase:meta but deployed on” Error indicate that you have a stale reference in the regions server memory
The below error can be observed in the HBCK output
hbase hbck -details | grep ERROR
ERROR: Region { meta => null, hdfs => null, deployed => learnshare1.net,60035,14483702453554;default:test_table,c09,14483702453554.89445wdfs84829324r28uese93jw., replicaId => 0 }, key=89445wdfs84829324r28uese93jw, not on HDFS or in hbase:meta but deployed on learnshare1.net,60035,14483702453554
ERROR: Region { meta => null, hdfs => null, deployed => learnshare2.net,60035,1448334235554;default:test_table2,y24x00,1448334235554.cdasdki83ouluefsgd6352293., replicaId => 0 }, key=cdasdki83ouluefsgd6352293, not on HDFS or in hbase:meta but deployed on learnshare2.net,60035,1448334235554
Troubleshooting the issue:
Make sure to validate if the region for that table is an exit in the HBase data directory
hadoop fs -ls /hbase/data///
Example:
hadoop fs -ls /hbase/data/default/test_table2/cdasdki83ouluefsgd6352293
ls /hbase/data/default/test_table2/cdasdki83ouluefsgd6352293: No such file or directory
The above error message, Confirms that there is no data available on this region. So it would be safe to proceed with the resolution
Resolution:
Restarting the region server will resolve the issue by clearing the stale entry in the memory
We have restarted the “learnshare1.net” region server and it fixed the entry and we didn’t see any inconsistency
hbase hbck -details | grep ERROR
Good Luck with your Learning!!
Related Topics:
Resolve “Orphan region in HDFS: Unable to load .regioninfo from table” in Hbase
Resolve “hole in the region chain” issue in Hbase
Resolve “org.apache.hadoop.hbase.TableInfoMissingException: No table descriptor file under” in Hbase