public class BlobStorageUtils extends Object
Constructor and Description |
---|
BlobStorageUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areOptimizationsEnabled(org.apache.hadoop.conf.Configuration conf)
Returns true if
HiveConf.ConfVars#HIVE_BLOBSTORE_OPTIMIZATIONS_ENABLED is true, false otherwise. |
static boolean |
isBlobStorageAsScratchDir(org.apache.hadoop.conf.Configuration conf) |
static boolean |
isBlobStorageFileSystem(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs) |
static boolean |
isBlobStoragePath(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path path) |
static boolean |
isBlobStorageScheme(org.apache.hadoop.conf.Configuration conf,
String scheme) |
public static boolean isBlobStoragePath(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path path)
public static boolean isBlobStorageFileSystem(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs)
public static boolean isBlobStorageScheme(org.apache.hadoop.conf.Configuration conf, String scheme)
public static boolean isBlobStorageAsScratchDir(org.apache.hadoop.conf.Configuration conf)
public static boolean areOptimizationsEnabled(org.apache.hadoop.conf.Configuration conf)
HiveConf.ConfVars#HIVE_BLOBSTORE_OPTIMIZATIONS_ENABLED
is true, false otherwise.Copyright © 2022 The Apache Software Foundation. All rights reserved.