hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
/**
   * check configured hfile format version before to do compaction
   * @throws IOException throw IOException
   */
check configured hfile format version before to do compaction
@throws IOException throw IOException
check configured hfile format version before to do compaction @throws IOException throw IOException
private void checkHFileFormatVersionForMob() throws IOException {
    if (HFile.getFormatVersion(master.getConfiguration()) < HFile.MIN_FORMAT_VERSION_WITH_TAGS) {
      LOG.error("A minimum HFile version of " + HFile.MIN_FORMAT_VERSION_WITH_TAGS
          + " is required for MOB compaction. Compaction will not run.");
      throw new IOException("A minimum HFile version of " + HFile.MIN_FORMAT_VERSION_WITH_TAGS
          + " is required for MOB feature. Consider setting " + HFile.FORMAT_VERSION_KEY
          + " accordingly.");
    }
  }
private void checkHFileFormatVersionForMob ( ) throws IOException { if ( HFile . getFormatVersion ( master . getConfiguration ( ) ) < HFile . MIN_FORMAT_VERSION_WITH_TAGS ) { LOG . error ( "A minimum HFile version of " + HFile . MIN_FORMAT_VERSION_WITH_TAGS + " is required for MOB compaction. Compaction will not run." ) ; throw new IOException ( "A minimum HFile version of " + HFile . MIN_FORMAT_VERSION_WITH_TAGS + " is required for MOB feature. Consider setting " + HFile . FORMAT_VERSION_KEY + " accordingly." ) ; } }
check configured hfile format version before to do compaction
 @throws IOException throw IOException
check configured hfile format version before to do compaction @throws IOException throw IOException