|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.service.RecoveryService
public class RecoveryService
The Recovery Service checks for pending actions and premater coordinator jobs older than a configured age and then queues them for execution.
| Field Summary | |
|---|---|
static String |
CONF_BUNDLE_OLDER_THAN
Age of Bundle jobs to recover, in seconds. |
static String |
CONF_CALLABLE_BATCH_SIZE
The number of callables to be queued in a batch. |
static String |
CONF_COORD_OLDER_THAN
Age of coordinator jobs to recover, in seconds. |
static String |
CONF_PREFIX
|
static String |
CONF_PREFIX_BUNDLE
|
static String |
CONF_PREFIX_COORD
|
static String |
CONF_PREFIX_WF_ACTIONS
|
static String |
CONF_PUSH_DEPENDENCY_INTERVAL
Delay for the push missing dependencies in milliseconds. |
static String |
CONF_SERVICE_INTERVAL
Time interval, in seconds, at which the recovery service will be scheduled to run. |
static String |
CONF_WF_ACTIONS_OLDER_THAN
Age of actions to queue, in seconds. |
| Fields inherited from interface org.apache.oozie.service.Service |
|---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
| Constructor Summary | |
|---|---|
RecoveryService()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy the Recovery Service. |
Class<? extends Service> |
getInterface()
Return the public interface for the Recovery Service. |
int |
getRecoveryServiceInterval(org.apache.hadoop.conf.Configuration conf)
|
void |
init(Services services)
Initializes the RecoveryService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONF_PREFIX
public static final String CONF_PREFIX_WF_ACTIONS
public static final String CONF_PREFIX_COORD
public static final String CONF_PREFIX_BUNDLE
public static final String CONF_SERVICE_INTERVAL
public static final String CONF_CALLABLE_BATCH_SIZE
public static final String CONF_PUSH_DEPENDENCY_INTERVAL
public static final String CONF_WF_ACTIONS_OLDER_THAN
public static final String CONF_COORD_OLDER_THAN
public static final String CONF_BUNDLE_OLDER_THAN
| Constructor Detail |
|---|
public RecoveryService()
| Method Detail |
|---|
public void init(Services services)
init in interface Serviceservices - services instance.public int getRecoveryServiceInterval(org.apache.hadoop.conf.Configuration conf)
public void destroy()
destroy in interface Servicepublic Class<? extends Service> getInterface()
getInterface in interface ServiceRecoveryService.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||