@Override List<Partition> getPartitionsByNames(CompactionInfo ci) throws MetaException {
    return RemoteCompactorUtil.getPartitionsByNames(msc, ci.dbname, ci.tableName, ci.tableName);
  }
Compactor thread that can run outside the metastore. It will
use the metastore thrift API which will default to a remote connection
if the thread is running outside the metastore or to a function call
if it's running within the metastore.
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/RemoteCompactorThread.java