Package org.apache.drill.yarn.client
Enum CommandLineOptions.Command
- All Implemented Interfaces:
Serializable
,Comparable<CommandLineOptions.Command>
- Enclosing class:
- CommandLineOptions
-
Enum Constant Summary
Enum ConstantDescriptionConvenience command to remove the Drill-on-YARN archive(s) from DFS.Convenience command to display the effective configuration settings to diagnose problems.Primary command to upload the application archive and start the Drill cluster.Primary command to get the status of a running cluster.Primary command to stop a running cluster.Convenience command to upload the application archive to test the DFS settings without launching the Drill cluster. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isHidden()
boolean
static CommandLineOptions.Command
Returns the enum constant of this type with the specified name.static CommandLineOptions.Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HELP
-
START
Primary command to upload the application archive and start the Drill cluster. -
STOP
Primary command to stop a running cluster. -
STATUS
Primary command to get the status of a running cluster. -
RESIZE
-
TEST
-
DESCRIBE
Convenience command to display the effective configuration settings to diagnose problems. -
UPLOAD
Convenience command to upload the application archive to test the DFS settings without launching the Drill cluster. -
CLEAN
Convenience command to remove the Drill-on-YARN archive(s) from DFS. Note: doing this while a Drill cluster is running will cause subsequent Drillbit launches to fail.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isMatch
-
isHidden
public boolean isHidden() -
getCommand
-
getDescription
-