Uses of Class
org.apache.oozie.command.CommandException

Packages that use CommandException
org.apache.oozie.command   
org.apache.oozie.command.bundle   
org.apache.oozie.command.coord   
org.apache.oozie.command.wf   
org.apache.oozie.util   
org.apache.oozie.util.db   
 

Uses of CommandException in org.apache.oozie.command
 

Methods in org.apache.oozie.command that throw CommandException
 T Command.call()
          Execute the command #call(WorkflowStore) setting all the necessary context.
 T XCommand.call()
          Implements the XCommand life-cycle.
protected abstract  T Command.call(S store)
          DagCallable subclasses must implement this method to perform their task.
protected  void RerunTransitionXCommand.eagerLoadState()
           
protected  void XCommand.eagerLoadState()
          Load the necessary state to perform an eager precondition check.
protected  void RerunTransitionXCommand.eagerVerifyPrecondition()
           
protected  void XCommand.eagerVerifyPrecondition()
          Verify the precondition for the command before obtaining a lock.
protected  Void UnpauseTransitionXCommand.execute()
           
protected  String SubmitTransitionXCommand.execute()
           
protected  Void KillTransitionXCommand.execute()
           
protected  Void StartTransitionXCommand.execute()
           
protected  Void PauseTransitionXCommand.execute()
           
protected  Void MaterializeTransitionXCommand.execute()
           
protected  T RerunTransitionXCommand.execute()
           
protected  Void ResumeTransitionXCommand.execute()
           
protected  Void SuspendTransitionXCommand.execute()
           
protected  T TransitionXCommand.execute()
           
protected abstract  T XCommand.execute()
          Command execution body.
protected  T Command.execute(S store)
           
abstract  void KillTransitionXCommand.killChildren()
           
protected abstract  void XCommand.loadState()
          Load the necessary state to perform the precondition check and to execute the command.
protected abstract  void MaterializeTransitionXCommand.materialize()
          Materialize the actions for current job
abstract  void TransitionXCommand.notifyParent()
          This will be used to notify the parent about the status of that perticular job.
abstract  void PauseTransitionXCommand.pauseChildren()
          pause actions associated with the job
abstract  void RerunTransitionXCommand.rerunChildren()
          Rerun actions associated with the job
abstract  void ResumeTransitionXCommand.resumeChildren()
          Resume all children of the job
abstract  void StartTransitionXCommand.StartChildren()
          Start actions associated with the job
protected abstract  String SubmitTransitionXCommand.submit()
          Submit the job
abstract  void SuspendTransitionXCommand.suspendChildren()
          Suspend all children of the job
 void UnpauseTransitionXCommand.transitToNext()
           
 void PauseTransitionXCommand.transitToNext()
           
 void MaterializeTransitionXCommand.transitToNext()
           
abstract  void TransitionXCommand.transitToNext()
          Transit to the next status based on the result of the Job.
abstract  void UnpauseTransitionXCommand.unpauseChildren()
          Unpause actions associated with the job
abstract  void TransitionXCommand.updateJob()
          Update the parent job.
protected  void RerunTransitionXCommand.verifyPrecondition()
           
protected abstract  void XCommand.verifyPrecondition()
          Verify the precondition for the command after a lock has been obtain, just before executing the command.
 

Uses of CommandException in org.apache.oozie.command.bundle
 

Methods in org.apache.oozie.command.bundle that throw CommandException
 void BundleStartXCommand.eagerLoadState()
           
protected  void BundleStatusUpdateXCommand.eagerLoadState()
           
protected  void BundleSubmitXCommand.eagerLoadState()
           
protected  void BundleJobChangeXCommand.eagerLoadState()
           
protected  void BundleStartXCommand.eagerVerifyPrecondition()
           
protected  void BundleSubmitXCommand.eagerVerifyPrecondition()
           
protected  void BundleJobChangeXCommand.eagerVerifyPrecondition()
           
protected  Void BundleStatusUpdateXCommand.execute()
           
protected  BundleJobInfo BundleJobsXCommand.execute()
           
protected  Void BundlePurgeXCommand.execute()
           
protected  Void BundleJobChangeXCommand.execute()
           
protected  BundleJobBean BundleJobXCommand.execute()
           
 void BundleKillXCommand.killChildren()
           
 void BundleStartXCommand.loadState()
           
 void BundlePauseXCommand.loadState()
           
protected  void BundleJobResumeXCommand.loadState()
           
 void BundleUnpauseXCommand.loadState()
           
protected  void BundleStatusUpdateXCommand.loadState()
           
 void BundleKillXCommand.loadState()
           
protected  void BundleRerunXCommand.loadState()
           
protected  void BundleJobsXCommand.loadState()
           
protected  void BundleSubmitXCommand.loadState()
           
protected  void BundleJobSuspendXCommand.loadState()
           
protected  void BundlePurgeXCommand.loadState()
           
protected  void BundleJobChangeXCommand.loadState()
           
protected  void BundleJobXCommand.loadState()
           
protected  void BundleSubmitXCommand.mergeDefaultConfig()
          Merge default configuration with user-defined configuration.
 void BundleJobResumeXCommand.notifyParent()
           
 void BundleRerunXCommand.notifyParent()
           
 void BundleSubmitXCommand.notifyParent()
           
 void BundleJobSuspendXCommand.notifyParent()
           
 void BundlePauseXCommand.pauseChildren()
           
 void BundleRerunXCommand.rerunChildren()
           
 void BundleJobResumeXCommand.resumeChildren()
           
 void BundleStartXCommand.StartChildren()
           
protected  String BundleSubmitXCommand.submit()
           
 void BundleJobSuspendXCommand.suspendChildren()
           
 void BundleUnpauseXCommand.unpauseChildren()
           
 void BundleStartXCommand.updateJob()
           
 void BundlePauseXCommand.updateJob()
           
 void BundleJobResumeXCommand.updateJob()
           
 void BundleUnpauseXCommand.updateJob()
           
 void BundleKillXCommand.updateJob()
           
 void BundleRerunXCommand.updateJob()
           
 void BundleSubmitXCommand.updateJob()
           
 void BundleJobSuspendXCommand.updateJob()
           
protected  void BundleStartXCommand.verifyPrecondition()
           
protected  void BundlePauseXCommand.verifyPrecondition()
           
protected  void BundleJobResumeXCommand.verifyPrecondition()
           
protected  void BundleUnpauseXCommand.verifyPrecondition()
           
protected  void BundleStatusUpdateXCommand.verifyPrecondition()
           
protected  void BundleKillXCommand.verifyPrecondition()
           
protected  void BundleJobsXCommand.verifyPrecondition()
           
protected  void BundleSubmitXCommand.verifyPrecondition()
           
protected  void BundleJobSuspendXCommand.verifyPrecondition()
           
protected  void BundlePurgeXCommand.verifyPrecondition()
           
protected  void BundleJobChangeXCommand.verifyPrecondition()
           
protected  void BundleJobXCommand.verifyPrecondition()
           
 

Constructors in org.apache.oozie.command.bundle that throw CommandException
BundleJobChangeXCommand(String id, String changeValue)
           
 

Uses of CommandException in org.apache.oozie.command.coord
 

Methods in org.apache.oozie.command.coord that throw CommandException
protected  void CoordMaterializeTransitionXCommand.calcMatdTime()
          Calculate startMatdTime and endMatdTime from job's start time if next materialized time is null
protected  Void CoordChangeCommand.call(CoordinatorStore store)
           
protected  Void CoordActionUpdateCommand.call(CoordinatorStore cstore)
           
protected  CoordinatorJobInfo CoordJobsCommand.call(CoordinatorStore store)
           
protected  Void CoordActionMaterializeCommand.call(CoordinatorStore store)
           
protected  Void CoordJobMatLookupCommand.call(CoordinatorStore store)
           
protected  Void CoordActionInputCheckCommand.call(CoordinatorStore store)
           
protected  Void CoordActionTimeOut.call(CoordinatorStore store)
           
protected  String CoordSubmitCommand.call(CoordinatorStore store)
           
protected  Void CoordResumeCommand.call(CoordinatorStore store)
           
protected  Void CoordActionStartCommand.call(CoordinatorStore store)
           
protected  Void CoordKillCommand.call(CoordinatorStore store)
           
protected  CoordinatorJobBean CoordJobCommand.call(CoordinatorStore store)
           
protected  CoordinatorActionInfo CoordRerunCommand.call(CoordinatorStore store)
           
protected  CoordinatorActionBean CoordActionInfoCommand.call(CoordinatorStore store)
           
protected  Void CoordActionReadyCommand.call(CoordinatorStore store)
           
protected  Void CoordSuspendCommand.call(CoordinatorStore store)
           
protected  Void CoordPurgeCommand.call(CoordinatorStore store)
           
protected  Void CoordActionCheckCommand.call(CoordinatorStore cstore)
           
protected  Void CoordActionNotification.call(CoordinatorStore store)
           
protected  List<SLAEventBean> SLAEventsCommand.call(SLAStore store)
           
static void CoordCommandUtils.checkIfBothSameType(String startInst, String endInst)
           
protected  void CoordActionStartXCommand.eagerLoadState()
           
protected  void CoordActionInputCheckXCommand.eagerLoadState()
           
protected  void CoordActionUpdateXCommand.eagerLoadState()
           
protected  void CoordRerunXCommand.eagerVerifyPrecondition()
           
protected  void CoordActionUpdateXCommand.eagerVerifyPrecondition()
           
protected  Void CoordActionStartXCommand.execute()
           
protected  Void CoordActionReadyXCommand.execute()
           
protected  Void CoordActionInputCheckXCommand.execute()
           
protected  Void CoordPurgeXCommand.execute()
           
protected  Void CoordActionCheckXCommand.execute()
           
protected  CoordinatorJobInfo CoordJobsXCommand.execute()
           
protected  CoordinatorActionBean CoordActionInfoXCommand.execute()
           
protected  Void CoordChangeXCommand.execute()
           
protected  Void CoordActionUpdateXCommand.execute()
           
protected  Void CoordActionTimeOutXCommand.execute()
           
protected  CoordinatorJobBean CoordJobXCommand.execute()
           
protected  Void CoordActionNotificationXCommand.execute()
           
protected  List<SLAEventBean> SLAEventsXCommand.execute()
           
protected  Void CoordChangeCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionUpdateCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionMaterializeCommand.execute(CoordinatorStore store)
           
protected  Void CoordJobMatLookupCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionInputCheckCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionTimeOut.execute(CoordinatorStore store)
           
protected  Void CoordResumeCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionStartCommand.execute(CoordinatorStore store)
           
protected  Void CoordKillCommand.execute(CoordinatorStore store)
           
protected  CoordinatorActionInfo CoordRerunCommand.execute(CoordinatorStore store)
           
protected  Void CoordRecoveryCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionReadyCommand.execute(CoordinatorStore store)
           
protected  Void CoordSuspendCommand.execute(CoordinatorStore store)
           
protected  Void CoordActionCheckCommand.execute(CoordinatorStore store)
           
 void CoordKillXCommand.killChildren()
           
protected  void CoordSubmitXCommand.loadState()
           
 void CoordUnpauseXCommand.loadState()
           
protected  void CoordRerunXCommand.loadState()
           
protected  void CoordActionStartXCommand.loadState()
           
protected  void CoordActionReadyXCommand.loadState()
           
protected  void CoordActionInputCheckXCommand.loadState()
           
protected  void CoordMaterializeTransitionXCommand.loadState()
           
 void CoordPauseXCommand.loadState()
           
protected  void CoordResumeXCommand.loadState()
           
protected  void CoordPurgeXCommand.loadState()
           
protected  void CoordActionCheckXCommand.loadState()
           
protected  void CoordJobsXCommand.loadState()
           
protected  void CoordActionInfoXCommand.loadState()
           
protected  void CoordKillXCommand.loadState()
           
protected  void CoordChangeXCommand.loadState()
           
protected  void CoordActionUpdateXCommand.loadState()
           
protected  void CoordSuspendXCommand.loadState()
           
protected  void CoordActionTimeOutXCommand.loadState()
           
protected  void CoordJobXCommand.loadState()
           
protected  void CoordActionNotificationXCommand.loadState()
           
protected  void SLAEventsXCommand.loadState()
           
protected  void CoordMaterializeTransitionXCommand.materialize()
           
protected  void CoordSubmitXCommand.mergeDefaultConfig()
          Merge default configuration with user-defined configuration.
protected  void CoordSubmitCommand.mergeDefaultConfig()
          Merge default configuration with user-defined configuration.
 void CoordSubmitXCommand.notifyParent()
           
 void CoordUnpauseXCommand.notifyParent()
           
 void CoordRerunXCommand.notifyParent()
           
 void CoordMaterializeTransitionXCommand.notifyParent()
           
 void CoordPauseXCommand.notifyParent()
           
 void CoordResumeXCommand.notifyParent()
           
 void CoordKillXCommand.notifyParent()
           
 void CoordSuspendXCommand.notifyParent()
           
 void CoordPauseXCommand.pauseChildren()
           
 void CoordRerunXCommand.rerunChildren()
           
 void CoordResumeXCommand.resumeChildren()
           
protected  String CoordSubmitXCommand.submit()
           
 void CoordSuspendXCommand.suspendChildren()
           
 void CoordMaterializeTransitionXCommand.transitToNext()
           
 void CoordUnpauseXCommand.unpauseChildren()
           
 void CoordSubmitXCommand.updateJob()
           
 void CoordUnpauseXCommand.updateJob()
           
 void CoordRerunXCommand.updateJob()
           
 void CoordMaterializeTransitionXCommand.updateJob()
           
 void CoordPauseXCommand.updateJob()
           
 void CoordResumeXCommand.updateJob()
           
 void CoordKillXCommand.updateJob()
           
 void CoordSuspendXCommand.updateJob()
           
protected  void CoordSubmitXCommand.verifyPrecondition()
           
protected  void CoordUnpauseXCommand.verifyPrecondition()
           
protected  void CoordRerunXCommand.verifyPrecondition()
           
protected  void CoordActionReadyXCommand.verifyPrecondition()
           
protected  void CoordActionInputCheckXCommand.verifyPrecondition()
           
protected  void CoordMaterializeTransitionXCommand.verifyPrecondition()
           
protected  void CoordPauseXCommand.verifyPrecondition()
           
protected  void CoordResumeXCommand.verifyPrecondition()
           
protected  void CoordPurgeXCommand.verifyPrecondition()
           
protected  void CoordActionCheckXCommand.verifyPrecondition()
           
protected  void CoordJobsXCommand.verifyPrecondition()
           
protected  void CoordActionInfoXCommand.verifyPrecondition()
           
protected  void CoordKillXCommand.verifyPrecondition()
           
protected  void CoordChangeXCommand.verifyPrecondition()
           
protected  void CoordActionUpdateXCommand.verifyPrecondition()
           
protected  void CoordSuspendXCommand.verifyPrecondition()
           
protected  void CoordActionTimeOutXCommand.verifyPrecondition()
           
protected  void CoordJobXCommand.verifyPrecondition()
           
protected  void CoordActionNotificationXCommand.verifyPrecondition()
           
protected  void SLAEventsXCommand.verifyPrecondition()
           
 

Constructors in org.apache.oozie.command.coord that throw CommandException
CoordChangeCommand(String id, String changeValue)
           
CoordChangeXCommand(String id, String changeValue)
          This command is used to update the Coordinator job with the new values Update the coordinator job bean and update that to database.
 

Uses of CommandException in org.apache.oozie.command.wf
 

Methods in org.apache.oozie.command.wf that throw CommandException
protected  String SubmitCommand.call(WorkflowStore store)
           
protected  Void PurgeCommand.call(WorkflowStore store)
           
protected  Void ActionCheckCommand.call(WorkflowStore store)
           
protected  String ExternalIdCommand.call(WorkflowStore store)
           
protected  Void ActionEndCommand.call(WorkflowStore store)
           
protected  Void ActionKillCommand.call(WorkflowStore store)
           
protected  Void SignalCommand.call(WorkflowStore store)
           
protected  Void ReRunCommand.call(WorkflowStore store)
           
protected  Void CompletedActionCommand.call(WorkflowStore store)
           
protected  Void SuspendCommand.call(WorkflowStore store)
           
protected  Void ActionStartCommand.call(WorkflowStore store)
           
protected  Void ResumeCommand.call(WorkflowStore store)
           
protected  Void KillCommand.call(WorkflowStore store)
           
protected  String SubmitHttpCommand.call(WorkflowStore store)
           
protected  void CompletedActionXCommand.eagerLoadState()
           
protected  void ReRunXCommand.eagerLoadState()
          Loading the Wfjob and workflow actions.
protected  void SuspendXCommand.eagerLoadState()
           
protected  void ActionCheckXCommand.eagerLoadState()
           
protected  void CompletedActionXCommand.eagerVerifyPrecondition()
           
protected  void ReRunXCommand.eagerVerifyPrecondition()
          Checks the pre-conditions that are required for workflow to recover - Last run of Workflow should be completed - The nodes that are to be skipped are to be completed successfully in the base run.
protected  void SuspendXCommand.eagerVerifyPrecondition()
           
protected  void ActionCheckXCommand.eagerVerifyPrecondition()
           
protected  WorkflowsInfo JobsXCommand.execute()
           
protected  String SubmitHttpXCommand.execute()
           
protected  Void ActionEndXCommand.execute()
           
protected  Void WfEndXCommand.execute()
           
protected  String DefinitionXCommand.execute()
           
protected  Void NotificationXCommand.execute()
           
protected  Void CompletedActionXCommand.execute()
           
protected  Void ReRunXCommand.execute()
           
protected  String SubmitXCommand.execute()
           
protected  Void ResumeXCommand.execute()
           
protected  Void SuspendXCommand.execute()
           
protected  String ExternalIdXCommand.execute()
           
protected  Void ActionCheckXCommand.execute()
           
protected  Void ActionStartXCommand.execute()
           
protected  WorkflowActionBean WorkflowActionInfoXCommand.execute()
           
protected  Void ActionKillXCommand.execute()
           
protected  Void KillXCommand.execute()
           
protected  Void PurgeXCommand.execute()
           
protected  WorkflowJobBean JobXCommand.execute()
           
protected  Void SignalXCommand.execute()
           
protected  Void ActionCheckCommand.execute(WorkflowStore store)
           
protected  Void ActionEndCommand.execute(WorkflowStore store)
           
protected  Void ActionKillCommand.execute(WorkflowStore store)
           
protected  Void SignalCommand.execute(WorkflowStore store)
           
protected  Void ReRunCommand.execute(WorkflowStore store)
           
protected  Void SuspendCommand.execute(WorkflowStore store)
           
protected  Void ActionStartCommand.execute(WorkflowStore store)
           
protected  Void ResumeCommand.execute(WorkflowStore store)
           
protected  Void KillCommand.execute(WorkflowStore store)
           
 void ActionCommand.failJob(ActionExecutor.Context context)
           
 void ActionXCommand.failJob(ActionExecutor.Context context)
          Fail the job due to failed action
protected  void ActionCommand.handleError(ActionExecutor.Context context, ActionExecutor executor, String message, boolean isStart, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of errors.
protected  void ActionXCommand.handleError(ActionExecutor.Context context, ActionExecutor executor, String message, boolean isStart, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of errors.
protected  void ActionXCommand.handleNonTransient(ActionExecutor.Context context, ActionExecutor executor, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of non transient failures.
protected  void ActionCommand.handleNonTransient(WorkflowStore store, ActionExecutor.Context context, ActionExecutor executor, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of non transient failures.
protected  boolean ActionCommand.handleTransient(ActionExecutor.Context context, ActionExecutor executor, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of Transient failures.
protected  boolean ActionXCommand.handleTransient(ActionExecutor.Context context, ActionExecutor executor, org.apache.oozie.client.WorkflowAction.Status status)
          Takes care of Transient failures.
protected  void JobsXCommand.loadState()
           
protected  void ActionEndXCommand.loadState()
           
protected  void WfEndXCommand.loadState()
           
protected  void DefinitionXCommand.loadState()
           
protected  void NotificationXCommand.loadState()
           
protected  void CompletedActionXCommand.loadState()
           
protected  void ReRunXCommand.loadState()
           
protected  void ResumeXCommand.loadState()
           
protected  void SuspendXCommand.loadState()
           
protected  void ExternalIdXCommand.loadState()
           
protected  void ActionCheckXCommand.loadState()
           
protected  void ActionStartXCommand.loadState()
           
protected  void ActionKillXCommand.loadState()
           
protected  void KillXCommand.loadState()
           
protected  void PurgeXCommand.loadState()
           
protected  void JobXCommand.loadState()
           
protected  void SignalXCommand.loadState()
           
static String SubmitCommand.resolveSla(org.jdom.Element eSla, ELEvaluator evalSla)
           
static String SubmitXCommand.resolveSla(org.jdom.Element eSla, ELEvaluator evalSla)
          Resolve variables in sla xml element.
static void SuspendXCommand.suspendJob(JPAService jpaService, WorkflowJobBean workflow, String id, String actionId)
          Suspend the workflow job and pending flag to false for the actions that are START_RETRY or START_MANUAL or END_RETRY or END_MANUAL
protected  void SubmitPigXCommand.verifyPrecondition()
           
protected  void JobsXCommand.verifyPrecondition()
           
protected  void SubmitMRXCommand.verifyPrecondition()
           
protected  void ActionEndXCommand.verifyPrecondition()
           
protected  void WfEndXCommand.verifyPrecondition()
           
protected  void DefinitionXCommand.verifyPrecondition()
           
protected  void NotificationXCommand.verifyPrecondition()
           
protected  void CompletedActionXCommand.verifyPrecondition()
           
protected  void ReRunXCommand.verifyPrecondition()
           
protected  void SubmitXCommand.verifyPrecondition()
           
protected  void ResumeXCommand.verifyPrecondition()
           
protected  void SuspendXCommand.verifyPrecondition()
           
protected  void ExternalIdXCommand.verifyPrecondition()
           
protected  void ActionCheckXCommand.verifyPrecondition()
           
protected  void ActionStartXCommand.verifyPrecondition()
           
protected  void WorkflowActionInfoXCommand.verifyPrecondition()
           
protected  void ActionKillXCommand.verifyPrecondition()
           
protected  void KillXCommand.verifyPrecondition()
           
protected  void PurgeXCommand.verifyPrecondition()
           
protected  void JobXCommand.verifyPrecondition()
           
protected  void SignalXCommand.verifyPrecondition()
           
 

Uses of CommandException in org.apache.oozie.util
 

Methods in org.apache.oozie.util that throw CommandException
static void PropertiesUtils.checkDisallowedProperties(org.apache.hadoop.conf.Configuration conf, Set<String> set)
          Validate against DISALLOWED Properties.
static Map<String,String> JobUtils.parseChangeValue(String changeValue)
          This Function will parse the value of the changed values in key value manner.
 

Uses of CommandException in org.apache.oozie.util.db
 

Methods in org.apache.oozie.util.db that throw CommandException
static void SLADbXOperations.writeStausEvent(String slaXml, String id, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType)
          Create SLA status event
static void SLADbOperations.writeStausEvent(String slaXml, String id, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType, XLog log)
           
static void SLADbOperations.writeStausEvent(String slaXml, String id, Store store, org.apache.oozie.client.SLAEvent.Status stat, org.apache.oozie.client.SLAEvent.SlaAppType appType)
           
 



Copyright © 2011 Yahoo. All Rights Reserved.