@Internal public class FallbackYarnSessionCli extends AbstractCustomCommandLine
HADOOP_CLASSPATH
is not set.Modifier and Type | Field and Description |
---|---|
static String |
ID |
addressOption, configuration, zookeeperNamespaceOption
Constructor and Description |
---|
FallbackYarnSessionCli(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
addGeneralOptions(org.apache.commons.cli.Options baseOptions)
Adds custom options to the existing general options.
|
String |
getId()
Gets the unique identifier of this CustomCommandLine.
|
boolean |
isActive(org.apache.commons.cli.CommandLine commandLine)
Signals whether the custom command-line wants to execute or not.
|
addRunOptions, applyCommandLineOptionsToConfiguration, getConfiguration, handleCliArgsException, handleError, printUsage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseCommandLineOptions
public static final String ID
public FallbackYarnSessionCli(Configuration configuration)
public void addGeneralOptions(org.apache.commons.cli.Options baseOptions)
CustomCommandLine
addGeneralOptions
in interface CustomCommandLine
addGeneralOptions
in class AbstractCustomCommandLine
baseOptions
- The existing options.public boolean isActive(org.apache.commons.cli.CommandLine commandLine)
CustomCommandLine
commandLine
- The command-line optionspublic String getId()
CustomCommandLine
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.