public abstract class SubmitHttpXCommand extends WorkflowXCommand<String>
Modifier and Type | Field and Description |
---|---|
protected static Set<String> |
MANDATORY_OOZIE_CONFS |
protected static Set<String> |
OPTIONAL_OOZIE_CONFS |
DEFAULT_LOCK_TIMEOUT, DEFAULT_REQUEUE_DELAY, dryrun, eventService, instrumentation, INSTRUMENTATION_GROUP, LOG, logInfo
Constructor and Description |
---|
SubmitHttpXCommand(String name,
String type,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
protected String |
execute()
Command execution body.
|
protected abstract String |
getWorkflowXml(org.apache.hadoop.conf.Configuration conf)
Generate workflow xml from conf object
|
generateEvent, generateEvent, generateEvent
call, eagerLoadState, eagerVerifyPrecondition, executeInterrupts, getCreatedTime, getEntityKey, getInstrumentation, getKey, getLockTimeOut, getLog, getName, getPriority, getRequeueDelay, getType, inInterruptMode, isLockRequired, isReQueueRequired, loadState, queue, queue, resetUsed, setInterruptMode, verifyPrecondition
protected static final Set<String> MANDATORY_OOZIE_CONFS
protected static final Set<String> OPTIONAL_OOZIE_CONFS
public SubmitHttpXCommand(String name, String type, org.apache.hadoop.conf.Configuration conf)
protected abstract String getWorkflowXml(org.apache.hadoop.conf.Configuration conf)
conf
- the configuration objectprotected String execute() throws CommandException
XCommand
execute
in class XCommand<String>
CommandException
- thrown if the command execution failed.Copyright © 2015 Apache Software Foundation. All Rights Reserved.