public class DiskUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DiskUtil.OSType |
| Constructor and Description |
|---|
DiskUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<URI> |
getDataNodeStorageDirs() |
static int |
getDataNodeStorageSize() |
static List<DiskDeviceInfo> |
getDefaultDiskDeviceInfos() |
static List<DiskDeviceInfo> |
getDiskDeviceInfos() |
static void |
main(String[] args) |
public static List<DiskDeviceInfo> getDiskDeviceInfos() throws IOException
IOExceptionpublic static List<DiskDeviceInfo> getDefaultDiskDeviceInfos()
public static int getDataNodeStorageSize()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.