@Override
        protected void run() throws IOException {
          getMaster().getMasterCoprocessorHost().preTableFlush(tableName);
          LOG.info(getClientIdAuditPrefix() + " flush " + tableName);
          submitProcedure(
            new FlushTableProcedure(procedureExecutor.getEnvironment(), tableName, columnFamilies));
          getMaster().getMasterCoprocessorHost().postTableFlush(tableName);
        }
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