public class MetaStoreUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_NAME_HTTP_HEADER |
| Constructor and Description |
|---|
MetaStoreUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHttpPath(String httpPath)
The config parameter can be like "path", "/path", "/path/", "path/*", "/path1/path2/*" and so
on.
|
static Map<String,String> |
getMetaStoreSaslProperties(org.apache.hadoop.conf.Configuration conf,
boolean useSSL)
Read and return the meta store Sasl configuration.
|
static void |
throwMetaException(Exception e)
Catches exceptions that cannot be handled and wraps them in MetaException.
|
public static final String USER_NAME_HTTP_HEADER
public static void throwMetaException(Exception e) throws MetaException
e - exception to wrap.MetaException - wrapper for the exceptionpublic static Map<String,String> getMetaStoreSaslProperties(org.apache.hadoop.conf.Configuration conf, boolean useSSL)
conf - Copyright © 2022 The Apache Software Foundation. All rights reserved.