static String getConnectionURL(Configuration conf) {
    return MetastoreConf.getVar(conf, ConfVars.CONNECT_URL_KEY, "");
  }
Updates the connection URL in hiveConf using the hook (if a hook has been
set using hive.metastore.ds.connection.url.hook property)
@param originalConf - original configuration used to look up hook settings
@param activeConf - the configuration file in use for looking up db url
@param badUrl
@param updateData - hook information
@return true if a new connection URL was loaded into the thread local
        configuration
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreInit.java