public class LiteWorkflowAppService extends WorkflowAppService
APP_LIB_PATH_LIST, CONF_PREFIX, CONFG_MAX_WF_LENGTH, HADOOP_USER, OOZIE_SUBWORKFLOW_CLASSPATH_INHERITANCE, OOZIE_WF_SUBWORKFLOW_CLASSPATH_INHERITANCE, SYSTEM_LIB_PATH
DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
LiteWorkflowAppService() |
Modifier and Type | Method and Description |
---|---|
WorkflowApp |
parseDef(org.apache.hadoop.conf.Configuration jobConf)
Parse workflow definition.
|
WorkflowApp |
parseDef(org.apache.hadoop.conf.Configuration jobConf,
org.apache.hadoop.conf.Configuration configDefault)
Parse workflow definition along with config-default.xml config
|
WorkflowApp |
parseDef(String wfXml,
org.apache.hadoop.conf.Configuration jobConf)
Parse workflow definition.
|
WorkflowApp |
parseDef(String workflowXml,
org.apache.hadoop.conf.Configuration jobConf,
org.apache.hadoop.conf.Configuration configDefault) |
createProtoActionConf, destroy, getInterface, getSystemLibPath, init, readDefinition
public LiteWorkflowAppService()
public WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf) throws WorkflowException
parseDef
in class WorkflowAppService
jobConf
- workflow job configuration.WorkflowException
public WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf, org.apache.hadoop.conf.Configuration configDefault) throws WorkflowException
WorkflowAppService
parseDef
in class WorkflowAppService
jobConf
- job configurationconfigDefault
- config from config-default.xmlWorkflowException
public WorkflowApp parseDef(String wfXml, org.apache.hadoop.conf.Configuration jobConf) throws WorkflowException
WorkflowAppService
parseDef
in class WorkflowAppService
wfXml
- workflow.jobConf
- job configurationWorkflowException
- thrown if the workflow application could not be parsed.public WorkflowApp parseDef(String workflowXml, org.apache.hadoop.conf.Configuration jobConf, org.apache.hadoop.conf.Configuration configDefault) throws WorkflowException
WorkflowException
Copyright © 2018 Apache Software Foundation. All rights reserved.