org.apache.oozie.action.hadoop
Class OozieJobInfo
java.lang.Object
org.apache.oozie.action.hadoop.OozieJobInfo
public class OozieJobInfo
- extends Object
|
Constructor Summary |
OozieJobInfo(org.apache.hadoop.conf.Configuration actionConf,
ActionExecutor.Context context,
org.apache.oozie.client.WorkflowAction action)
Instantiates a new oozie job info. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUNDLE_ID
public static final String BUNDLE_ID
- See Also:
- Constant Field Values
BUNDLE_NAME
public static final String BUNDLE_NAME
- See Also:
- Constant Field Values
COORD_NAME
public static final String COORD_NAME
- See Also:
- Constant Field Values
COORD_ID
public static final String COORD_ID
- See Also:
- Constant Field Values
COORD_NOMINAL_TIME
public static final String COORD_NOMINAL_TIME
- See Also:
- Constant Field Values
WORKFLOW_ID
public static final String WORKFLOW_ID
- See Also:
- Constant Field Values
WORKFLOW_NAME
public static final String WORKFLOW_NAME
- See Also:
- Constant Field Values
ACTION_TYPE
public static final String ACTION_TYPE
- See Also:
- Constant Field Values
ACTION_NAME
public static final String ACTION_NAME
- See Also:
- Constant Field Values
JOB_INFO_KEY
public static final String JOB_INFO_KEY
- See Also:
- Constant Field Values
CONF_JOB_INFO
public static final String CONF_JOB_INFO
- See Also:
- Constant Field Values
SEPARATOR
public static final String SEPARATOR
- See Also:
- Constant Field Values
OozieJobInfo
public OozieJobInfo(org.apache.hadoop.conf.Configuration actionConf,
ActionExecutor.Context context,
org.apache.oozie.client.WorkflowAction action)
throws IOException
- Instantiates a new oozie job info.
- Parameters:
jobconf - the jobconfactionConf - the action confcontext - the contextaction - the action
- Throws:
IOException
isJobInfoEnabled
public static boolean isJobInfoEnabled()
setJobInfo
public static void setJobInfo(boolean jobInfo)
getJobInfo
public String getJobInfo()
throws IOException
- Get the job info.
- Returns:
- job info
- Throws:
IOException - Signals that an I/O exception has occurred.
addfromConf
public void addfromConf(org.apache.hadoop.conf.Configuration conf,
StringBuffer sb)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.