fixMeta (Hbck2)

Performs a server-side repair of bad or inconsistent state in the hbase:meta table.

Command Syntax

Bash
Copy

Description

This command is available in HBase 2.2.1, 2.1.6, and later versions. It uses information produced by:

  • The periodic catalog_janitor, and
  • The HBCK Chore, a background process that runs in the HBase Master

The Master UI includes an HBCK Report tab that displays issues detected by these processes.

fixMeta resolves common hbase:meta inconsistencies, including:

  • Holes — gaps in region coverage
  • Overlaps — regions that cover the same key range

When needed, it also creates empty region directories in HDFS to match newly added or corrected regions in hbase:meta.

The hbase:meta table must be healthy before attempting any other cluster repair. If the HBCK Report shows issues, fixMeta is the primary tool for resolving them. If no issues are reported, running fixMeta performs no action.

This command is not the same as the similarly named command in hbck1.

See Also

  • reportMissingRegionsInMeta
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated