Is there any way to stop creation of tombstone markers while hard-deleting rows from hbase?
We have requirement to bulk delete millions of rows. Currently we follow following sequence of steps:
- Hard-delete data from hbase tables (using org.apache.hadoop.hbase.client.Delete API)
- Run major compaction on the impacted tables.
- Load new data into the tables.
As we have to perform major compaction, so currently we are forced to perform this activity during off-hours.
Is there any way to avoid creation of tombstone markers?
We found following link related to our problem on stackoverflow:
Is there a way to do hard delete (real delete) on HBase?
ThanksAnuj