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 |
---|---|
Future<Path> |
FileCache.createTmpFile(String name,
DistributedCache.DistributedCacheEntry entry,
JobID jobID)
If the file doesn't exists locally, it will copy the file to the temp directory.
|
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–2018 The Apache Software Foundation. All rights reserved.