Modifier and Type | Field and Description |
---|---|
protected HashMap<String,DistributedCache.DistributedCacheEntry> |
Plan.cacheFile
Hash map for files in the distributed cache: registered name to cache entry.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,DistributedCache.DistributedCacheEntry>> |
Plan.getCachedFiles()
return the registered caches files
|
Modifier and Type | Method and Description |
---|---|
void |
Plan.registerCachedFile(String name,
DistributedCache.DistributedCacheEntry entry)
register cache files in program level
|
Modifier and Type | Method and Description |
---|---|
static Set<Map.Entry<String,DistributedCache.DistributedCacheEntry>> |
DistributedCache.readFileInfoFromConfig(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
static void |
DistributedCache.writeFileInfoToConfig(String name,
DistributedCache.DistributedCacheEntry e,
Configuration conf) |
Modifier and Type | Method and Description |
---|---|
static void |
JobGraphGenerator.addUserArtifactEntries(Collection<Tuple2<String,DistributedCache.DistributedCacheEntry>> userArtifacts,
JobGraph jobGraph) |
Modifier and Type | Method and Description |
---|---|
Future<Path> |
FileCache.createTmpFile(String name,
DistributedCache.DistributedCacheEntry entry,
JobID jobID,
ExecutionAttemptID executionId)
If the file doesn't exists locally, retrieve the file from the blob-service.
|
Modifier and Type | Method and Description |
---|---|
Map<String,DistributedCache.DistributedCacheEntry> |
JobGraph.getUserArtifacts()
Gets the list of assigned user jar paths.
|
Modifier and Type | Method and Description |
---|---|
void |
JobGraph.addUserArtifact(String name,
DistributedCache.DistributedCacheEntry file)
Adds the path of a custom file required to run the job on a task manager.
|
Modifier and Type | Field and Description |
---|---|
protected List<Tuple2<String,DistributedCache.DistributedCacheEntry>> |
StreamExecutionEnvironment.cacheFile |
Modifier and Type | Method and Description |
---|---|
List<Tuple2<String,DistributedCache.DistributedCacheEntry>> |
StreamExecutionEnvironment.getCachedFiles()
Get the list of cached files that were registered for distribution among the task managers.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.