public final class DistributedLoadUtils extends Object
|Modifier and Type||Method and Description|
Distributed loads a file or directory in Alluxio space, makes it resident in memory.
public static void distributedLoad(AbstractDistributedJobCommand command, AlluxioURI filePath, int replication, Set<String> workerSet, Set<String> excludedWorkerSet, Set<String> localityIds, Set<String> excludedLocalityIds) throws AlluxioException, IOException
command- The command to execute loading
AlluxioURIpath to load into Alluxio memory
replication- Number of block replicas of each loaded file
workerSet- A set of worker hosts to load data
excludedWorkerSet- A set of worker hosts can not to load data
localityIds- The locality identify set
excludedLocalityIds- A set of worker locality identify can not to load data
Copyright © 2021. All Rights Reserved.