Package alluxio.cli.fsadmin.report
Class UfsCommand
- java.lang.Object
-
- alluxio.cli.fsadmin.report.UfsCommand
-
public class UfsCommand extends java.lang.ObjectPrints under filesystem information.
-
-
Constructor Summary
Constructors Constructor Description UfsCommand(alluxio.client.file.FileSystemMasterClient fileSystemMasterClient)Creates a new instance ofUfsCommand.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidprintMountInfo(java.util.Map<java.lang.String,alluxio.wire.MountPointInfo> mountTable)Prints mount information for a mount table.intrun()Runs report ufs command.
-
-
-
Constructor Detail
-
UfsCommand
public UfsCommand(alluxio.client.file.FileSystemMasterClient fileSystemMasterClient)
Creates a new instance ofUfsCommand.- Parameters:
fileSystemMasterClient- client to get mount table from
-
-
Method Detail
-
run
public int run() throws java.io.IOExceptionRuns report ufs command.- Returns:
- 0 on success, 1 otherwise
- Throws:
java.io.IOException
-
printMountInfo
public static void printMountInfo(java.util.Map<java.lang.String,alluxio.wire.MountPointInfo> mountTable)
Prints mount information for a mount table.- Parameters:
mountTable- the mount table to get information from
-
-