Class QuorumRemoveCommand

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

    public class QuorumRemoveCommand
    extends AbstractFsAdminCommand
    Command for removing a server from journal quorum.
    • Constructor Detail

      • QuorumRemoveCommand

        public QuorumRemoveCommand​(Context context,
                                   alluxio.conf.AlluxioConfiguration alluxioConf)
        Parameters:
        context - fsadmin command context
        alluxioConf - Alluxio configuration
    • Method Detail

      • description

        public static java.lang.String description()
        Returns:
        command's description
      • run

        public int run​(org.apache.commons.cli.CommandLine cl)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • getCommandName

        public java.lang.String getCommandName()
      • getUsage

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()
      • validateArgs

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

        public org.apache.commons.cli.Options getOptions()