public abstract class AbstractDistributedJobCommand extends AbstractFileSystemCommand
Command
classes.
It provides handling for submitting multiple jobs and handling retries of them.Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_ACTIVE_JOBS |
protected int |
mActiveJobs |
protected JobMasterClient |
mClient |
protected List<JobAttempt> |
mSubmittedJobAttempts |
mFileSystem, mFsContext
Modifier | Constructor and Description |
---|---|
protected |
AbstractDistributedJobCommand(FileSystemContext fsContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
drain() |
protected void |
waitJob()
Waits for at least one job to complete.
|
processHeader, runPlainPath, runWildCardCmd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getCommandName, getDescription, getOptions, getSubCommands, getUsage, hasSubCommand, parseAndValidateArgs, run, validateArgs
protected static final int DEFAULT_ACTIVE_JOBS
protected List<JobAttempt> mSubmittedJobAttempts
protected int mActiveJobs
protected final JobMasterClient mClient
protected AbstractDistributedJobCommand(FileSystemContext fsContext)
Copyright © 2023. All Rights Reserved.