public static boolean isEmbeddedMetaStore(String msUri) {
    return (msUri == null) ? true : msUri.trim().isEmpty();
  }
Check if metastore is being used in embedded mode.
This utility function exists so that the logic for determining the mode is same
in HiveConf and HiveMetaStoreClient
@param msUri - metastore server uri
@return
common/src/java/org/apache/hadoop/hive/conf/HiveConfUtil.java