Fix the issue in deleting tables.
Refine the code.
Merge remote-tracking branch 'origin/hbase-11339-core' into hbase-11339-core-compaction