@Override
  public long getLastMajorCompactionTimestamp(TableName table) throws IOException {
    return getClusterMetrics(EnumSet.of(Option.LIVE_SERVERS))
      .getLastMajorCompactionTimestamp(table);
  }
Removes the table descriptors that don't match the pattern.
@param descriptors list of table descriptors to filter
@param pattern     the regex to use
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java