org.apache.oozie.coord
Class CoordUtils
java.lang.Object
org.apache.oozie.coord.CoordUtils
public class CoordUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HADOOP_USER
public static final String HADOOP_USER
- See Also:
- Constant Field Values
CoordUtils
public CoordUtils()
getDoneFlag
public static String getDoneFlag(org.jdom.Element doneFlagElement)
getHadoopConf
public static org.apache.hadoop.conf.Configuration getHadoopConf(org.apache.hadoop.conf.Configuration jobConf)
getCoordActionsFromDates
public static List<CoordinatorActionBean> getCoordActionsFromDates(String jobId,
String scope)
throws CommandException
- Get the list of actions for given date ranges
- Parameters:
jobId
- coordinator job idscope
- a comma-separated list of date ranges. Each date range element is specified with two dates separated by '::'
- Returns:
- the list of Coordinator actions for the date range
- Throws:
CommandException
- thrown if failed to get coordinator actions by given date range
getCoordActionsFromIds
public static List<CoordinatorActionBean> getCoordActionsFromIds(String jobId,
String scope)
throws CommandException
- Get the list of actions for given id ranges
- Parameters:
jobId
- coordinator job idscope
- a comma-separated list of action ranges. The action range is specified with two action numbers separated by '-'
- Returns:
- the list of all Coordinator actions for action range
- Throws:
CommandException
- thrown if failed to get coordinator actions by given id range
Copyright © 2013 Apache Software Foundation. All Rights Reserved.