Support Questions
Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

hbase:acl NotServingRegionException



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,16020,1545207998046
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(
        at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.getRegion(
        at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(
        at org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(

        at org.apache.hadoop.hbase.ipc.RpcExecutor$
        at org.apache.hadoop.hbase.ipc.RpcExecutor$

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.

How can I fix it? Thanks


Expert Contributor

Hi @Daniel Hernández

Would you please try the below command.

# /bin/hbase hbck -fixAssignments "hbase:acl"


Hi @Sampath Kumar,

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

New Contributor


As described in

The hbck utility is only provided to HBase < 2.0, and have blocked actions that can corrupt metadata in HBase > 2.0

There is a patch for hbck to work in HBase > 2.0 in this JIRA:

It's not closed and i have not tried to apply the patch, but it could help.