public static boolean isBlobStorageScheme(final Configuration conf, final String scheme) {
        Collection<String> supportedBlobStoreSchemes =
                conf.getStringCollection(HiveConf.ConfVars.HIVE_BLOBSTORE_SUPPORTED_SCHEMES.varname);

        return supportedBlobStoreSchemes.contains(scheme);
    }
Utilities for different blob (object) storage systems
common/src/java/org/apache/hadoop/hive/common/BlobStorageUtils.java