Class MasterInfoCommand

  • All Implemented Interfaces:
    alluxio.cli.Command, java.io.Closeable, java.lang.AutoCloseable

    @ThreadSafe
    @PublicApi
    public final class MasterInfoCommand
    extends AbstractFileSystemCommand
    Prints information regarding master fault tolerance such as leader address, list of master addresses, and the configured Zookeeper address.
    • Constructor Detail

      • MasterInfoCommand

        public MasterInfoCommand​(alluxio.client.file.FileSystemContext fsContext)
        Parameters:
        fsContext - the FileSystem
    • Method Detail

      • getCommandName

        public java.lang.String getCommandName()
      • validateArgs

        public void validateArgs​(org.apache.commons.cli.CommandLine cl)
                          throws alluxio.exception.status.InvalidArgumentException
        Throws:
        alluxio.exception.status.InvalidArgumentException
      • run

        public int run​(org.apache.commons.cli.CommandLine cl)
      • getUsage

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()