Package alluxio.cli.fsadmin
Class FileSystemAdminShellUtils
- java.lang.Object
-
- alluxio.cli.fsadmin.FileSystemAdminShellUtils
-
public final class FileSystemAdminShellUtils extends java.lang.ObjectClass for convenience methods used byFileSystemAdminShell.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckMasterClientService(alluxio.conf.AlluxioConfiguration alluxioConf)Checks if the master client service is available.static intcompareTierNames(java.lang.String a, java.lang.String b)Compares two tier names according to their rank values.
-
-
-
Method Detail
-
compareTierNames
public static int compareTierNames(java.lang.String a, java.lang.String b)Compares two tier names according to their rank values.- Parameters:
a- one tier nameb- another tier name- Returns:
- compared result
-
checkMasterClientService
public static void checkMasterClientService(alluxio.conf.AlluxioConfiguration alluxioConf) throws java.io.IOExceptionChecks if the master client service is available. Throws an exception if fails to determine that the master client service is running.- Parameters:
alluxioConf- Alluxio configuration- Throws:
java.io.IOException
-
-