public class StorageUtils extends Object
| Constructor and Description |
|---|
StorageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clean(String base,
String path) |
static InetSocketAddress |
getDataNodeAddress(String ifname,
int port) |
static String |
getDatanodeDirectory(String datapath,
InetSocketAddress address) |
public static InetSocketAddress getDataNodeAddress(String ifname, int port) throws IOException
IOExceptionpublic static void clean(String base, String path) throws IOException
IOExceptionpublic static String getDatanodeDirectory(String datapath, InetSocketAddress address) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.