Class StorageCommand


  • public class StorageCommand
    extends java.lang.Object
    Prints server-side storage errors and warnings.
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageCommand​(alluxio.client.block.BlockMasterClient blockMasterClient, java.io.PrintStream printStream)
      Creates a new instance of StorageCommand.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int run()
      Runs doctor storage command.
      • Methods inherited from class java.lang.Object

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

      • StorageCommand

        public StorageCommand​(alluxio.client.block.BlockMasterClient blockMasterClient,
                              java.io.PrintStream printStream)
        Creates a new instance of StorageCommand.
        Parameters:
        blockMasterClient - client to get server-side worker lost storage information
        printStream - stream to print storage warnings to
    • Method Detail

      • run

        public int run()
                throws java.io.IOException
        Runs doctor storage command.
        Returns:
        0 on success, 1 otherwise
        Throws:
        java.io.IOException