public static String prependCatalogToDbName(String dbName, Configuration conf) {
    return prependCatalogToDbName(null, dbName, conf);
  }
Prepend the default 'hive' catalog onto the database name.
@param dbName database name
@param conf configuration object, used to determine default catalog
@return one string with the 'hive' catalog name prepended.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java