Class UfsCommand


  • public class UfsCommand
    extends java.lang.Object
    Prints under filesystem information.
    • Constructor Summary

      Constructors 
      Constructor Description
      UfsCommand​(alluxio.client.file.FileSystemMasterClient fileSystemMasterClient)
      Creates a new instance of UfsCommand.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void printMountInfo​(java.util.Map<java.lang.String,​alluxio.wire.MountPointInfo> mountTable)
      Prints mount information for a mount table.
      int run()
      Runs report ufs command.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UfsCommand

        public UfsCommand​(alluxio.client.file.FileSystemMasterClient fileSystemMasterClient)
        Creates a new instance of UfsCommand.
        Parameters:
        fileSystemMasterClient - client to get mount table from
    • Method Detail

      • run

        public int run()
                throws java.io.IOException
        Runs 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