Class QuorumCommand

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

    public class QuorumCommand
    extends AbstractFsAdminCommand
    Command for seeing/managing quorum state of embedded journal.
    • Constructor Detail

      • QuorumCommand

        public QuorumCommand​(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
      • getSubCommands

        public java.util.Map<java.lang.String,​alluxio.cli.Command> getSubCommands()
      • getCommandName

        public java.lang.String getCommandName()
      • getUsage

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()
      • stringToAddress

        public static alluxio.grpc.NetAddress stringToAddress​(java.lang.String serverAddress)
                                                       throws alluxio.exception.status.InvalidArgumentException
        Parameters:
        serverAddress - the string containing the hostname and port separated by a ':
        Returns:
        a NetAddress object composed of a hostname and a port
        Throws:
        alluxio.exception.status.InvalidArgumentException