public static boolean isNoCleanUpSet(Map<String, String> parameters) {
    String noCleanUp = parameters.get(hive_metastoreConstants.NO_CLEANUP);
    if (noCleanUp == null) {
      noCleanUp = parameters.get(hive_metastoreConstants.NO_CLEANUP.toUpperCase());
    }
    return noCleanUp != null && noCleanUp.equalsIgnoreCase("true");
  }
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