public class ServiceUtils extends Object
| Constructor and Description |
|---|
ServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canProvideProgressLog(HiveConf hiveConf) |
static void |
cleanup(org.slf4j.Logger log,
Closeable... closeables)
Close the Closeable objects and ignore any
IOException or
null pointers. |
static int |
indexOfDomainMatch(String userName) |
public static int indexOfDomainMatch(String userName)
public static void cleanup(org.slf4j.Logger log,
Closeable... closeables)
IOException or
null pointers. Must only be used for cleanup in exception handlers.log - the log to record problems to at debug level. Can be null.closeables - the objects to closepublic static boolean canProvideProgressLog(HiveConf hiveConf)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.