org.apache.oozie.cli
Class AuthOozieCLI
java.lang.Object
org.apache.oozie.cli.OozieCLI
org.apache.oozie.cli.AuthOozieCLI
public class AuthOozieCLI
- extends OozieCLI
Oozie command line utility.
Fields inherited from class org.apache.oozie.cli.OozieCLI |
ADMIN_CMD, CHANGE_OPTION, CHANGE_VALUE_OPTION, CONFIG_OPTION, DEFINITION_OPTION, DRYRUN_OPTION, ENV_OOZIE_URL, FILTER_OPTION, HELP_CMD, INFO_OPTION, JOB_CMD, JOBS_CMD, JOBTYPE_OPTION, KILL_OPTION, LEN_OPTION, LOCAL_TIME_OPTION, LOG_OPTION, OFFSET_OPTION, OOZIE_OPTION, PIG_CMD, PIGFILE_OPTION, QUEUE_DUMP_OPTION, RERUN_ACTION_OPTION, RERUN_DATE_OPTION, RERUN_NOCLEANUP_OPTION, RERUN_OPTION, RERUN_REFRESH_OPTION, RESUME_OPTION, RUN_OPTION, SLA_CMD, START_OPTION, STATUS_OPTION, SUBMIT_OPTION, SUSPEND_OPTION, SYSTEM_MODE_OPTION, VALIDATE_CMD, VERBOSE_DELIMITER, VERBOSE_OPTION, VERSION_CMD, VERSION_OPTION, WS_HEADER_PREFIX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthOozieCLI
public AuthOozieCLI()
main
public static void main(String[] args)
- Entry point for the Oozie CLI when invoked from the command line.
Upon completion this method exits the JVM with '0' (success) or '-1'
(failure).
- Parameters:
args
- options and arguments for the Oozie CLI.
createOozieClient
protected OozieClient createOozieClient(org.apache.commons.cli.CommandLine commandLine)
throws OozieCLIException
- Create a OozieClient. It injects any '-Dheader:' as header to the the
OozieClient
.
- Overrides:
createOozieClient
in class OozieCLI
- Parameters:
commandLine
- the parsed command line options.
- Returns:
- a pre configured eXtended workflow client.
- Throws:
OozieCLIException
- thrown if the OozieClient could not be
configured.
createXOozieClient
protected XOozieClient createXOozieClient(org.apache.commons.cli.CommandLine commandLine)
throws OozieCLIException
- Create a XOozieClient. It injects any '-Dheader:' as header to the the
OozieClient
.
- Overrides:
createXOozieClient
in class OozieCLI
- Parameters:
commandLine
- the parsed command line options.
- Returns:
- a pre configured eXtended workflow client.
- Throws:
OozieCLIException
- thrown if the XOozieClient could not be
configured.
Copyright © 2011 Yahoo. All Rights Reserved.