org.apache.oozie.service
Class LiteWorkflowAppService

java.lang.Object
  extended by org.apache.oozie.service.WorkflowAppService
      extended by org.apache.oozie.service.LiteWorkflowAppService
All Implemented Interfaces:
Service

public class LiteWorkflowAppService
extends WorkflowAppService

Service that provides workflow application definition reading, parsing and creating proto configuration.


Field Summary
 
Fields inherited from class org.apache.oozie.service.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
 
Fields inherited from interface org.apache.oozie.service.Service
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND
 
Constructor Summary
LiteWorkflowAppService()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.oozie.service.WorkflowAppService
createProtoActionConf, destroy, getInterface, getSystemLibPath, init, readDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteWorkflowAppService

public LiteWorkflowAppService()
Method Detail

parseDef

public WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf)
                     throws WorkflowException
Parse workflow definition.

Specified by:
parseDef in class WorkflowAppService
Parameters:
jobConf - workflow job configuration.
authToken - authorization token.
Returns:
workflow application.
Throws:
WorkflowException

parseDef

public WorkflowApp parseDef(org.apache.hadoop.conf.Configuration jobConf,
                            org.apache.hadoop.conf.Configuration configDefault)
                     throws WorkflowException
Description copied from class: WorkflowAppService
Parse workflow definition along with config-default.xml config

Specified by:
parseDef in class WorkflowAppService
Parameters:
jobConf - job configuration
configDefault - config from config-default.xml
Returns:
workflow application thrown if the workflow application could not be parsed
Throws:
WorkflowException

parseDef

public WorkflowApp parseDef(String wfXml,
                            org.apache.hadoop.conf.Configuration jobConf)
                     throws WorkflowException
Description copied from class: WorkflowAppService
Parse workflow definition.

Specified by:
parseDef in class WorkflowAppService
Parameters:
wfXml - workflow.
jobConf - job configuration
Returns:
workflow application.
Throws:
WorkflowException - thrown if the workflow application could not be parsed.

parseDef

public WorkflowApp parseDef(String workflowXml,
                            org.apache.hadoop.conf.Configuration jobConf,
                            org.apache.hadoop.conf.Configuration configDefault)
                     throws WorkflowException
Throws:
WorkflowException


Copyright © 2015 Apache Software Foundation. All Rights Reserved.