public static List<Partition> getPartitionsByNames(HiveConf conf, String dbName, String tableName, String partName) 
      throws MetaException {
    try {
      return getMSForConf(conf).getPartitionsByNames(getDefaultCatalog(conf), dbName, tableName,
              Collections.singletonList(partName));
    } catch (Exception e) {
      LOG.error("Unable to get partitions by name = {}.{}.{}", dbName, tableName, partName);
      throw new MetaException(e.toString());
    }
  }
Get the compactor queue name if it's defined.
@param conf global hive conf
@param ci compaction info object
@param table instance of table
@return name of the queue
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorUtil.java