public void cacheFileMetadata(
      String dbName, String tableName, String partName, boolean allParts) throws HiveException {
    try {
      boolean willCache = getMSC().cacheFileMetadata(dbName, tableName, partName, allParts);
      if (!willCache) {
        throw new HiveException(
            "Caching file metadata is not supported by metastore or for this file format");
      }
    } catch (TException e) {
      throw new HiveException(e);
    }
  }
Enqueue a compaction request.  Only 1 compaction for a given resource (db/table/partSpec) can
be scheduled/running at any given time.
@param request The {@link CompactionRequest} object containing the details required to enqueue
               a compaction request.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java