I have an HBASE table with 100 of thousands of rows and we're experience issues with hotspotting.
I'd like to recreate this table with salted row keys.
I've attempted to "org.apache.hadoop.hbase.mapreduce.Import/CopyTable" into a new salted table, but it doesn't prefix the row keys with salt.
The only solution I've experienced that worked in migrating rows with prefix was a Phoenix query:
UPSERT INTO TABLE_SALTED SELECT * FROM TABLE
However, this is VERY inefficient and takes way too long.
How do I salt an existing HBASE / Phoenix table with minimal downtime?