public class ServerUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ServerUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanUpScratchDir(HiveConf hiveConf) |
static InetAddress |
getHostAddress(String hostname)
Get the Inet address of the machine of the given host name.
|
static String |
hostname() |
public static void cleanUpScratchDir(HiveConf hiveConf)
public static InetAddress getHostAddress(String hostname) throws UnknownHostException
hostname
- The name of the hostUnknownHostException
public static String hostname()
Copyright © 2016 The Apache Software Foundation. All rights reserved.