public Path getDefaultExternalDatabasePath(String dbName) throws MetaException {
    return getDefaultDatabasePath(dbName, true);
  }
Get the managed tables path specified by the database.  In the case of the default database the root of the
warehouse is returned.
@param db database to get the path of
@return path to the database directory
@throws MetaException when the file path cannot be properly determined from the configured
file system.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java