Class ConfigurationCommand


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

      Constructors 
      Constructor Description
      ConfigurationCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient, java.io.PrintStream printStream)
      Creates a new instance of ConfigurationCommand.
    • Method Summary

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

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

      • ConfigurationCommand

        public ConfigurationCommand​(alluxio.client.meta.MetaMasterClient metaMasterClient,
                                    java.io.PrintStream printStream)
        Creates a new instance of ConfigurationCommand.
        Parameters:
        metaMasterClient - client to get server-side configuration report information
        printStream - stream to print configuration errors/warnings to
    • Method Detail

      • run

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