I am trying to create anHBase table from HBase shell with my user. My user has not permissions to create tables, so I am executing the following command to grant the permissons:
grant 'root', 'RWCA'
and I am getting the following ERROR:
org.apache.hadoop.hbase.NotServingRegionException: hbase:acl,,1536838375676.22dbfaf2d9dc840941808287c0c8be67. is not online on node13.agatha.com,16020,1545207998046
I tried to fix it by repairing the affected regions with metada repair commands like hbase hbck -repair, but command help prompts and says that these commands are not available yet on my hbase version.
I read more about the dissable metadata repair options on HBase 2+ and it seems when restarting hbase master server the consistency tests runs and should repair damaged regions automatically, but it does not happen and I can't grant permissions anymore.
Thank you for your answer. As I explain in my question, this is the output I get when trying metadata repair commands like -fixAssignments:
NOTE: Following options are NOT supported as of HBase version 2.0+.
UNSUPPORTED Metadata Repair options: (expert features, use with caution!)
-fix Try to fix region assignments. This is for backwards compatiblity
-fixAssignments Try to fix region assignments. Replaces the old -fix
-fixMeta Try to fix meta problems. This assumes HDFS region info is good.
-fixHdfsHoles Try to fix region holes in hdfs.
-fixHdfsOrphans Try to fix region dirs with no .regioninfo file in hdfs
-fixTableOrphans Try to fix table dirs with no .tableinfo file in hdfs (online mode only)
-fixHdfsOverlaps Try to fix region overlaps in hdfs.
-maxMerge <n> When fixing region overlaps, allow at most <n> regions to merge. (n=5 by default)
-sidelineBigOverlaps When fixing region overlaps, allow to sideline big overlaps
-maxOverlapsToSideline <n> When fixing region overlaps, allow at most <n> regions to sideline per group. (n=2 by default)
-fixSplitParents Try to force offline split parents to be online.
-removeParents Try to offline and sideline lingering parents and keep daughter regions.
-fixEmptyMetaCells Try to fix hbase:meta entries not referencing any region (empty REGIONINFO_QUALIFIER rows)
UNSUPPORTED Metadata Repair shortcuts
-repair Shortcut for -fixAssignments -fixMeta -fixHdfsHoles -fixHdfsOrphans -fixHdfsOverlaps -fixVersionFile -sidelineBigOverlaps -fixReferenceFiles-fixHFileLinks
-repairHoles Shortcut for -fixAssignments -fixMeta -fixHdfsHoles
I read on the web that on HBase > 2.0 the fixes are run automatically everytime HBase master starts