Uses of Enum Class
org.apache.hadoop.mapreduce.v2.app.job.JobStateInternal
Packages that use JobStateInternal
Package
Description
-
Uses of JobStateInternal in org.apache.hadoop.mapreduce.v2.app
Methods in org.apache.hadoop.mapreduce.v2.app with parameters of type JobStateInternalModifier and TypeMethodDescriptionprotected JobMRAppMaster.createJob(org.apache.hadoop.conf.Configuration conf, JobStateInternal forcedState, String diagnostic) Create and initialize (but don't start) a single job. -
Uses of JobStateInternal in org.apache.hadoop.mapreduce.v2.app.job
Methods in org.apache.hadoop.mapreduce.v2.app.job that return JobStateInternalModifier and TypeMethodDescriptionstatic JobStateInternalReturns the enum constant of this class with the specified name.static JobStateInternal[]JobStateInternal.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of JobStateInternal in org.apache.hadoop.mapreduce.v2.app.job.impl
Fields in org.apache.hadoop.mapreduce.v2.app.job.impl with type parameters of type JobStateInternalModifier and TypeFieldDescriptionprotected static final org.apache.hadoop.yarn.state.StateMachineFactory<JobImpl,JobStateInternal, JobEventType, JobEvent> JobImpl.stateMachineFactoryMethods in org.apache.hadoop.mapreduce.v2.app.job.impl that return JobStateInternalModifier and TypeMethodDescriptionprotected JobStateInternalJobImpl.checkReadyForCommit()JobImpl.getInternalState()JobImpl.InitTransition.transition(JobImpl job, JobEvent event) Note that this transition method is called directly (and synchronously) by MRAppMaster's init() method (i.e., no RPC, no thread-switching; just plain sequential call within AM context), so we can trigger modifications in AM state from here (at least, if AM is written that way; MR version is).Methods in org.apache.hadoop.mapreduce.v2.app.job.impl that return types with arguments of type JobStateInternalModifier and TypeMethodDescriptionprotected org.apache.hadoop.yarn.state.StateMachine<JobStateInternal,JobEventType, JobEvent> JobImpl.getStateMachine()Constructors in org.apache.hadoop.mapreduce.v2.app.job.impl with parameters of type JobStateInternalModifierConstructorDescriptionJobImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId, org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.event.EventHandler eventHandler, TaskAttemptListener taskAttemptListener, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager jobTokenSecretManager, org.apache.hadoop.security.Credentials jobCredentials, org.apache.hadoop.yarn.util.Clock clock, Map<org.apache.hadoop.mapreduce.v2.api.records.TaskId, org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.TaskInfo> completedTasksFromPreviousRun, MRAppMetrics metrics, org.apache.hadoop.mapreduce.OutputCommitter committer, boolean newApiCommitter, String userName, long appSubmitTime, List<org.apache.hadoop.mapreduce.v2.api.records.AMInfo> amInfos, AppContext appContext, JobStateInternal forcedState, String forcedDiagnostic)