@InterfaceAudience.Private public class ClientDistributedCacheManager extends Object
| Constructor and Description |
|---|
ClientDistributedCacheManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
determineCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
Determines the visibilities of the distributed cache files and
archives.
|
static void |
determineTimestamps(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
Determines timestamps of files to be cached, and stores those
in the configuration.
|
static void |
determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job)
Determines timestamps of files to be cached, and stores those
in the configuration.
|
static void |
determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
See ClientDistributedCacheManager#determineTimestampsAndCacheVisibilities(
Configuration).
|
static void |
getDelegationTokens(org.apache.hadoop.conf.Configuration job,
org.apache.hadoop.security.Credentials credentials)
For each archive or cache file - get the corresponding delegation token
|
public static void determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job)
throws IOException
job - IOExceptionpublic static void determineTimestampsAndCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
throws IOException
job - Configuration of a jobstatCache - A map containing cached file status objectsIOException - if there is a problem with the underlying filesystempublic static void determineTimestamps(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
throws IOException
job - Configuration of a job.IOExceptionpublic static void getDelegationTokens(org.apache.hadoop.conf.Configuration job,
org.apache.hadoop.security.Credentials credentials)
throws IOException
job - credentials - IOExceptionpublic static void determineCacheVisibilities(org.apache.hadoop.conf.Configuration job,
Map<URI,org.apache.hadoop.fs.FileStatus> statCache)
throws IOException
job - IOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.