Class EnableWorkerCommand

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

    public class EnableWorkerCommand
    extends AbstractFsAdminCommand
    The DecommissionWorkerCommand can specify to disable certain workers in the cluster, so they are not allowed to register again. This command is the reverse operation of that, which enables those workers to register to the cluster. See the help message for more details.
    • Constructor Detail

      • EnableWorkerCommand

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

      • run

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

        public java.lang.String getCommandName()
      • getOptions

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

        public java.lang.String getUsage()
      • getDescription

        public java.lang.String getDescription()