@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 |
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
- IOException
public static void determineTimestamps(org.apache.hadoop.conf.Configuration job, Map<URI,org.apache.hadoop.fs.FileStatus> statCache) throws IOException
job
- Configuration of a job.IOException
public static void getDelegationTokens(org.apache.hadoop.conf.Configuration job, org.apache.hadoop.security.Credentials credentials) throws IOException
job
- credentials
- IOException
public static void determineCacheVisibilities(org.apache.hadoop.conf.Configuration job, Map<URI,org.apache.hadoop.fs.FileStatus> statCache) throws IOException
job
- IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.