Missing table descriptor

Know how to troubleshoot issues related to missing table descriptors.

Condition

Table lacks .tabledesc descriptors in HDFS.

Cause

Orphan table or incomplete table creation.

As a result, the Master procedure hangs.

Remedy

  1. Run the following command to troubleshoot the issue.
    hdfs dfs -ls /hbase/data/<namespace>/<table>/.tabledesc
  2. Run the following command to fix the issue.
    hbase hbck -j <hbck2-jar> generateMissingTableDescriptorFile <namespace>:<table>