@RestrictedApi(explanation = "Should only be called in tests", link = "",
      allowedOnPath = ".*/src/test/.*")
  public MasterRegion getMasterRegion() {
    return masterRegion;
  }
Get the compaction state of the table
@param tableName The table name
@return CompactionState Compaction state of the table
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java