public class OozieJobInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_NAME |
static String |
ACTION_TYPE |
static String |
BUNDLE_ID |
static String |
BUNDLE_NAME |
static String |
CONF_JOB_INFO |
static String |
COORD_ID |
static String |
COORD_NAME |
static String |
COORD_NOMINAL_TIME |
static String |
JOB_INFO_KEY |
static String |
SEPARATOR |
static String |
WORKFLOW_DEPTH |
static String |
WORKFLOW_ID |
static String |
WORKFLOW_NAME |
static String |
WORKFLOW_SUPER_PARENT |
Constructor and Description |
---|
OozieJobInfo(org.apache.hadoop.conf.Configuration actionConf,
ActionExecutor.Context context,
WorkflowAction action)
Instantiates a new oozie job info.
|
Modifier and Type | Method and Description |
---|---|
void |
addfromConf(org.apache.hadoop.conf.Configuration conf,
StringBuffer sb) |
String |
getJobInfo()
Get the job info.
|
static boolean |
isJobInfoEnabled() |
static void |
setJobInfo(boolean jobInfo) |
public static final String BUNDLE_ID
public static final String BUNDLE_NAME
public static final String COORD_NAME
public static final String COORD_ID
public static final String COORD_NOMINAL_TIME
public static final String WORKFLOW_ID
public static final String WORKFLOW_NAME
public static final String WORKFLOW_DEPTH
public static final String WORKFLOW_SUPER_PARENT
public static final String ACTION_TYPE
public static final String ACTION_NAME
public static final String JOB_INFO_KEY
public static final String CONF_JOB_INFO
public static final String SEPARATOR
public OozieJobInfo(org.apache.hadoop.conf.Configuration actionConf, ActionExecutor.Context context, WorkflowAction action) throws IOException
actionConf
- the action confcontext
- the contextaction
- the actionIOException
public static boolean isJobInfoEnabled()
public static void setJobInfo(boolean jobInfo)
public String getJobInfo() throws IOException
IOException
- Signals that an I/O exception has occurred.public void addfromConf(org.apache.hadoop.conf.Configuration conf, StringBuffer sb)
Copyright © 2018 Apache Software Foundation. All rights reserved.