Member since
07-18-2024
4
Posts
0
Kudos Received
0
Solutions
01-10-2026
11:06 PM
@EmilKle FYI ➤This issue typically arises because the comma (,) is a reserved delimiter in HBase for the hbase:meta table structure, used to separate the Table Name, Start Key, and Region ID. When a rowkey is inserted with an unexpected comma, the HBase shell and client API often misinterpret the entry as a malformed region name, causing GET or DELETE commands to route incorrectly or fail validation. ➤Here is how you can approach a safe repair, as traditional methods like HBCK2 fixMeta often bypass these "illegal" keys if they don't follow the expected region naming convention. 1. Use the HBase Shell with Hexadecimal Rowkeys Standard string-based commands in the shell often fail because the shell parses the comma as a delimiter. Instead, find the exact byte representation of the rowkey and delete it using hexadecimal notation. 1. Find the Hex Key: Run a scan to get the exact bytes of the corrupted row. scan 'hbase:meta', {ROWPREFIXFILTER => 'rowkey,'} 2. Delete using the binary string: If the rowkey is exactly rowkey,, use the binary notation in the shell: delete 'hbase:meta', "rowkey\x2C", 'info:regioninfo' (Note: \x2C is the hex code for a comma).
... View more