Question: Once you delete the data in HBase, when exactly they are physically removed ?
Answer : During Major compaction, b. Because HFiles are immutable, it’s not until a major compaction runs that these tombstone records are reconciled and space is truly recovered from deleted records.
Question: Please describe minor compaction
Answer : Minor : A minor compaction folds HFiles together, creating a larger HFile from multiple smaller HFiles.
Question: Please describe major compactation ?
Answer : When a compaction operates over all HFiles in a column family in a given region, it’s called a major compaction. Upon completion of a major compaction, all HFiles in the column family are merged into a single file
Question: What is tombstone record ?
Answer : The Delete command doesn’t delete the value immediately. Instead, it marks the record for deletion. That is, a new “tombstone� record is written for that value, marking it as deleted. The tombstone is used to indicate that the deleted value should no longer be included in Get or Scan results.