@ThreadSafe @PublicApi public final class DistributedLoadCommand extends AbstractDistributedJobCommand
ASYNC_OPTION, DEFAULT_ACTIVE_JOBS, mActiveJobs, mClient, mSubmittedJobAttemptsmFileSystem, mFsContext| Constructor and Description |
|---|
DistributedLoadCommand(FileSystemContext fsContext)
Constructs a new instance to load a file or directory in Alluxio space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getCommandName() |
java.lang.String |
getDescription() |
org.apache.commons.cli.Options |
getOptions() |
java.lang.String |
getUsage() |
int |
run(org.apache.commons.cli.CommandLine cl) |
void |
validateArgs(org.apache.commons.cli.CommandLine cl) |
drain, getCompletedCmdCount, getCompletedCount, getFailedCmdCount, getFailedCount, getFailedFiles, postProcessing, processFailures, submit, waitForCmd, waitJobprocessHeader, runPlainPath, runWildCardCmdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSubCommands, hasSubCommand, parseAndValidateArgspublic DistributedLoadCommand(FileSystemContext fsContext)
fsContext - the filesystem of Alluxiopublic java.lang.String getCommandName()
public org.apache.commons.cli.Options getOptions()
public void validateArgs(org.apache.commons.cli.CommandLine cl)
throws InvalidArgumentException
InvalidArgumentExceptionpublic java.lang.String getUsage()
public java.lang.String getDescription()
public int run(org.apache.commons.cli.CommandLine cl)
throws AlluxioException,
java.io.IOException
AlluxioExceptionjava.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionCopyright © 2022. All Rights Reserved.