HBase Best Practices
HBase RowKey length value best practice provides limitation information that you can apply to avoid error while indexing the table.
HBase RowKey length value
You should limit the value of each HBase RowKey length to 32767 bytes. Exceeding this value causes an exceptional error while indexing the table. This restriction is applicable in addition to the maximum allowed size of an individual cell, inclusive of value and all key components as defined by the hbase.server.keyvalue.maxsize value. The default value for RowKey length is 1 MB, which avoids server memory errors.