public static GetPartitionsByNamesRequest convertToGetPartitionsByNamesRequest(String dbName, String tblName,
      List<String> partNames) {
    GetPartitionsByNamesRequest result = new GetPartitionsByNamesRequest(dbName, tblName);
    result.setNames(partNames);
    result.setGet_col_stats(false);
    return result;
  }
EndPoint to specify nature of database for which failover is initiated.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java